Using pydantic v1 deprecation warnings are triggered when comparing instances of SQLModel #740
Unanswered
lebaudantoine
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Using
pydantic==1.10.13
.When comparing two instances of a SQLModel, deprecation warnings are triggered. The issue originates from the
__eq__
method, as observed here, where the comparison calls thedict()
method.Happy to work on a PR about this issue.
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.14
Python Version
3.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions