-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix: do not check for __get_validators__
on classes where __get_pydantic_core_schema__
is also defined
#11444
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
__get_validators__
on classes where __get_pydantic_core_schema__
is also defined
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
CodSpeed Performance ReportMerging #11444 will not alter performanceComparing Summary
|
please review ... thanks! |
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.
Wonderful, thanks @tlambert03!
We always appreciate your contributions. The clean unit test is great!
Exciting to see that this was caught by folks testing alpha releases. This really helps on our end. |
__get_validators__
on classes where __get_pydantic_core_schema__
is also defined__get_validators__
on classes where __get_pydantic_core_schema__
is also defined
thanks @sydney-runkle :) |
@tlambert03 @sydney-runkle I was in the process of answering in the linked issue. This might have to be reverted/changed. |
no worries. just let us know what you learn, feel free to revert or change as needed |
Side note: this only works because a deprecated |
ah, gotcha. Thanks for the clarification |
Related issue number
fixes #11443 by not checking for the existence of
__get_validators__
on classes where__get_pydantic_core_schema__
is also defined. See also #10863, which introduced the changeChecklist
Selected Reviewer: @sydney-runkle