-
Notifications
You must be signed in to change notification settings - Fork 247
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
collapse arguments into ValidationState #886
Conversation
CodSpeed Performance ReportMerging #886 will degrade performances by 22.76%Comparing Summary
Benchmarks breakdown
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #886 +/- ##
========================================
Coverage 93.78% 93.79%
========================================
Files 104 105 +1
Lines 15485 15252 -233
Branches 25 25
========================================
- Hits 14523 14305 -218
+ Misses 956 941 -15
Partials 6 6
Continue to review full report in Codecov by Sentry.
|
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.
Would it make sense to flatten Extra
into ValidationState
?
Potentially yes, but I'd like to work out the details of that in a future PR. |
Agreed, just clarifying, hence the ✅ |
79deaaf
to
ade471d
Compare
Change Summary
A refactoring to pack all of (extra, definitions, recursion_guard) into a single
ValidationState
. Split out of #867, both for easier review and also because the other PR is possibly not merging for a while and I think this is a useful refactoring.Related issue number
N/A
Checklist
pydantic-core
(except for expected changes)