-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support serialization as any for Secret types and Url types
#10947
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
…ntic_serializer__
CodSpeed Performance ReportMerging #10947 will not alter performanceComparing Summary
|
Deploying pydantic-docs with
|
| Latest commit: |
a84e306
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9dc69f81.pydantic-docs.pages.dev |
| Branch Preview URL: | https://easier-ser.pydantic-docs.pages.dev |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||
davidhewitt
left a comment
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.
This seems fine for now 👍
It would be nice in the long run to either decide this is what we want users to do too, or to find a better way to support types with __get_pydantic_core_schema__.
Fixes #10946
Fixes #9491
This might not be the best approach, but relieves some pressure for now. Leans into the coupling between
pydanticandpydantic-core. I think it's better to lean into this than to pretend it doesn't exist.Working on docs test fixes