Skip to content

Commit 56e63dd

Browse files
committed
fix: removed hyphen from module name
1 parent a4914b6 commit 56e63dd

File tree

7 files changed

+22
-0
lines changed

7 files changed

+22
-0
lines changed
File renamed without changes.
File renamed without changes.

typed_api_response/dev/__init__.py

Whitespace-only changes.

typed_api_response/dev/main.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from ..response import build_api_response
2+
from dataclasses import dataclass
3+
4+
5+
@dataclass
6+
class FakeData:
7+
msg: str
8+
num: int
9+
is_dope: bool
10+
11+
12+
if __name__ == "__main__":
13+
# if 1:
14+
data = FakeData(
15+
msg="asdfasdfasdf",
16+
num=123,
17+
is_dope=False,
18+
)
19+
api_response = build_api_response(data=data, status=200)
20+
api_response.payload.data
21+
22+
print(api_response)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)