Skip to content
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 installations of Pydantic v2 (but only v1 backported models) #113

Merged
merged 7 commits into from
Apr 1, 2024

Conversation

NowanIlfideme
Copy link
Owner

Pydantic v2 updated a lot, but for the sake of migration they have a backport of the Pydantic v1 features within the pydantic.v1.* namespace.

Since pydantic-kedro does a bit of a hacky thing with serialization in order to save datasets... that doesn't work in a "full" Pydantic v2, and a big rewrite is needed to actually support the v2 syntax. But we can support the v1 backport.

Which is what this does now.

@NowanIlfideme NowanIlfideme self-assigned this Apr 1, 2024
@NowanIlfideme NowanIlfideme linked an issue Apr 1, 2024 that may be closed by this pull request
@NowanIlfideme NowanIlfideme merged commit 04a9ea7 into main Apr 1, 2024
4 checks passed
@NowanIlfideme NowanIlfideme deleted the 15-support-pydantic-v2 branch April 1, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Pydantic V2
1 participant