Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.2k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
__get_validators__
on classes where__get_pydantic_core_schema__
is also definedCoverage reportClick to see where and how coverage changed
This report was generated bypython-coverage-comment-action |
codspeed-hqbot commentedFeb 14, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
CodSpeed Performance ReportMerging#11444 willnot 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. |
c2102b7
intopydantic:mainUh oh!
There was an error while loading.Please reload this page.
__get_validators__
on classes where__get_pydantic_core_schema__
is also defined__get_validators__
on classes where__get_pydantic_core_schema__
is also definedthanks@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 |
Uh oh!
There was an error while loading.Please reload this page.
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