-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
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
[Suggestion] use dataclass or pydantic instead of attr for models. #10
Comments
PS: I just found this thread, but still the question is unanswered. If it is okay, want to change the models into dataclass and stuffs. |
Could you please elaborate why it would be more straightforward for potential users? |
Sorry for the late reply.
And here are some references I looked up: |
In addition to those reasons listed above, For example:
|
More and more projects are beginning to use pydantic. For example OpenAI just released their new SDK(v1.0) with httpx and pydantic. |
@bahadiraraz successfully implemented this feature, and our current app, which also utilizes the |
Hi, just bumped into this repo while I was browsing apple's changed receipt validation policy.
Though it seems like this repo is its early stage, I think it would be more straightforward for potential users to use dataclass or pydantic.
The text was updated successfully, but these errors were encountered: