- Notifications
You must be signed in to change notification settings - Fork293
Addextra
parameter to the validate functions#1722
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
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
please review |
codecovbot commentedMay 26, 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.
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report?Let us know! |
codspeed-hqbot commentedMay 26, 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#1722 willnot alter performanceComparing Summary
|
anvilpete commentedMay 26, 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.
CI checks are failing with:
Hopefully a temporary issue. But how do I re-run them? [Edit: a force-push or two later, everything seems ok now] |
bae98e8
to74c3cd9
Compare@sydney-runkle anything I can do to help get this merged? |
Uh oh!
There was an error while loading.Please reload this page.
Change Summary
This change adds an
extra
parameter to the validation functions, overriding any other model configuration. After a corresponding update to Pydantic, this will enable the following frompydantic/pydantic#9278:I've tried to add tests and update existing ones where it makes sense. It's a very small change but touches a wide surface area, so please let me know if I've missed anything.
See alsopydantic/pydantic#11057 for a similar request.
Related issue number
Checklist
pydantic-core
(except for expected changes)Selected Reviewer:@sydney-runkle