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

fix: migrate class using root to pydantic v2 #211

Closed
wants to merge 8 commits into from
Closed

Conversation

machow
Copy link
Owner

@machow machow commented Jul 3, 2023

No description provided.

@machow
Copy link
Owner Author

machow commented Jul 6, 2023

Alright, the latest pydantic release fixes a bug preventing our backwards compat code from working. Now I just need to fix another use of __root__ in the interlinks submodule.

@machow machow mentioned this pull request Jul 6, 2023
@machow
Copy link
Owner Author

machow commented Jul 6, 2023

Everything except the validation (friendly error messages) works now. I suspect pydantic v2 may now produce totally different messages 😅

@machow
Copy link
Owner Author

machow commented Oct 13, 2023

Closing in favor of #294. May be useful to circle back and pull out code from here once we migrate fully to pydantic v2 (or something).

@machow machow closed this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant