-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Switching to pydantic_core
#4516
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMAZING! 🚀 🎉
I love the new structure for users. I read all the code in this PR. Not sure how much I understood but I read it all. 😅
It all looks great! I just added some minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 👍 🚀
Suggestions from @tiangolo and @hramezani 🙏 Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com> Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
💥 🚀 |
That's incredible progress. |
This is the big one 😱.
I'd love @PrettyWood @hramezani @tiangolo @adriangb and others to review this. Having to fix some suggestions, but given how big this is, I might defer some suggestions to subsequent PRs.
I'm sorry there's so much noise - obviously it would be great if the interesting bits could be in a different PR to the refactoring, but that wasn't possible while keeping tests "passing".
Test situation now:
There's a lot still to do, but the core functionality is now working using pydantic-core.
Summary of changes
_internal
module - this is to provide a clear differentiating between the public API and internal functionsconstr
,UUID5
FilePath
) having been converted to type annotations, although some have an alias to simplicity(though the mypy tests are currently xfail), fixeddict()
have not yet been renamed, we'll do that on a future PRBefore merging we need to decide on pydantic/pydantic-core#307.
In terms of next steps, I'm going to create issues now rather than listing here.