Closed AdeelH closed 2 weeks ago
Attention: Patch coverage is 92.38095%
with 16 lines
in your changes missing coverage. Please review.
Project coverage is 90.15%. Comparing base (
b74e30e
) to head (be455b9
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Overview
This PR migrates the code from using pydantic v1 to v2 and updates the version requirement to
>=2
.The main changes are:
.model_dump(serialize_as_any=True)
to get the old behavior.validator
androot_validator
withfield_validator
andmodel_validator
respectively.Checklist
needs-backport
label if the change should be back-ported to the previous releaseNotes
N/A
Testing Instructions
See updated unit tests.
Closes #2034