-
Notifications
You must be signed in to change notification settings - Fork 241
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
Support serialization mode specification from model config and SerializationConfig
#1122
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1122 +/- ##
==========================================
+ Coverage 89.73% 89.88% +0.14%
==========================================
Files 106 106
Lines 16380 16436 +56
Branches 35 35
==========================================
+ Hits 14699 14773 +74
+ Misses 1674 1656 -18
Partials 7 7
... and 9 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
CodSpeed Performance ReportMerging #1122 will degrade performances by 14.58%Comparing Summary
Benchmarks breakdown
|
ser_json_bytes
from model config and SerializationConfig
SerializationConfig
Co-authored-by: David Hewitt <[email protected]>
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.
LGTM, just one final nit!
Co-authored-by: David Hewitt <[email protected]>
Change Summary
SchemaSerializer
inf_nan_mode
in theto_json
andto_jsonable_python
callsRelated issue number
Fix pydantic/pydantic#8214
Checklist
pydantic-core
(except for expected changes)