-
-
Notifications
You must be signed in to change notification settings - Fork 711
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
SQLModel inheritance breaks sqlalchemy mutation tracking #468
Comments
I have the same issue in SQLModel 0.08 and it's kind of a big deal. Is there a workaround for this besides re-assigning the entire dict i.e. |
Any update here, A big blocker before I can migrate from sqlalchemy+pydantic to sqlmodel. |
Also a blocker here, commenting to stay in the loop! |
yep, same here, blocker. |
Blocker here as well. Thanks for your post, saved me from burning any more time on figuring out what was going on with mutation tracking. |
Problem still present with sqlmodel 0.0.22. |
First Check
Commit to Help
Example Code
Description
When setting a field to one of the fields supported by sqlalchemy mutation tracking, it seems the mutation tracking isn't working as intended. I attached the above code sample to illustrate what I mean. The assertions on the bottom of the script should pass under normal circumstance.
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.08
Python Version
3.9.13
Additional Context
No response
The text was updated successfully, but these errors were encountered: