-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Use overloads for Field and PrivateAttr functions
#10651
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
This typechecks the `default` and `default_factory` arguments, and removes the need for a custom mypy plugin hook.
Deploying pydantic-docs with
|
| Latest commit: |
60e97ce
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3e80c252.pydantic-docs.pages.dev |
| Branch Preview URL: | https://fields-func-overloads.pydantic-docs.pages.dev |
CodSpeed Performance ReportMerging #10651 will not alter performanceComparing Summary
|
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.
Nice work, much cleaner!
|
Pending happy |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||
|
Update: disabled |
This typechecks the
defaultanddefault_factoryarguments, and removes the need for a custom mypy plugin hook.Change Summary
Related issue number
Checklist