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

Compatibility with Pydantic 2 #2

Closed
sepro opened this issue Jul 3, 2023 · 1 comment
Closed

Compatibility with Pydantic 2 #2

sepro opened this issue Jul 3, 2023 · 1 comment

Comments

@sepro
Copy link
Owner

sepro commented Jul 3, 2023

Seems a few things changed, got the error below on a repo.

'''pydantic.errors.PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.'''

Setup.py has been adjusted to require a version < 2.0.0 but this is sub-optimal and should be corrected

sepro added a commit that referenced this issue May 28, 2024
* compatibility with pydantic 2 (#2)
@sepro
Copy link
Owner Author

sepro commented May 28, 2024

Solved #3

@sepro sepro closed this as completed May 28, 2024
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

No branches or pull requests

1 participant