Replies: 1 comment 2 replies
-
Same for me (with version 0.0.22) |
Beta Was this translation helpful? Give feedback.
2 replies
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
Hi,
I'm having problems migrating to pydantic v2. I have some logic in @root_validator for data that should be stored in the database. However, when using pydantic v2 and SQLModel with
table=True
the new @model_validator is not called. Everything works fine whentable=False
.Is this a bug or am I doing something wrong?
Best
Eric
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.14
Python Version
Python 3.12.1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions