We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@dataclass
Hello, thank you for creating such a great project.
I was wondering if there is a plan to add pre-defiend DTOs for API request / response since the official API is out of beta.
Currently, API endpoint invocations return generic SyncAsync[T] types, which makes development a bit cumbersome.
SyncAsync[T]
From what I am aware of, the following libs are options for defining DTOs:
dataclasses
dataclasses-json
pydantic
The text was updated successfully, but these errors were encountered:
Hi, and thanks for the kind words!
This is a duplicate of #9, have a look if you want more context.
I guess you'll be interested in @jheddings' abstraction, notional.
Sorry, something went wrong.
No branches or pull requests
Hello, thank you for creating such a great project.
I was wondering if there is a plan to add pre-defiend DTOs for API request / response since the official API is out of beta.
Currently, API endpoint invocations return generic
SyncAsync[T]
types, which makes development a bit cumbersome.From what I am aware of, the following libs are options for defining DTOs:
dataclasses
is built-in from 3.7, but cannot serialize / deserialize nested object (dataclasses-json
).pydantic
has good serialization / deserialization features, but a bit heavier than the other.The text was updated successfully, but these errors were encountered: