-
Notifications
You must be signed in to change notification settings - Fork 94
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
ODMantic is incompatible with pydantic version 2.7.0 #451
Labels
bug
Something isn't working
Comments
The same issue occurred with me, but it was fixed by reverting the Pydantic version from 2.7.0 to 2.6.4. |
Seems like Pydantic 2.70 had some major changes. You can read more here. Reverting Pydantic version to any previous versions above |
Thanks for the issue @MickVermeulen, #462 should fix it! |
M1N0RM1N3R
added a commit
to M1N0RM1N3R/Kolkra-NG
that referenced
this issue
May 10, 2024
The latest Pydantic version (2.7.0) is not compatible with ODMantic--see art049/odmantic#451
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
When updating to pydantic version 2.7.0,
pydantic
will throw aPydanticUserError
due to ODMantic trying to usemodel_config
as a model field name. More info: https://errors.pydantic.dev/2.7/u/model-config-invalid-field-nameCurrent Behavior
Expected behavior
I expect it to not throw an error
Environment
The text was updated successfully, but these errors were encountered: