Use annotations to auto type Model attributes #9

Closed
opened 2023-02-02 23:03:14 +00:00 by Valbou · 0 comments
Valbou commented 2023-02-02 23:03:14 +00:00 (Migrated from github.com)

Use annotation to type attributes in Model class from JSON response.
Raise an error if fail in casting to annotated type

Use __annotation__ to type attributes in Model class from JSON response. Raise an error if fail in casting to annotated type
Sign in to join this conversation.
No description provided.