Replies: 1 comment
-
SQLmodel has special handling for sa_column that requires it to be a Column that has not been extended to support MappedColumn. I think this is a bug / oversight from the transition to sqlalchemy 2.0 PR #896 fixes this but was closed by its author deleting the branch. I opened a new PR #1143 from the branch and added tests. Your example works with the sqlmodel version in the PR. Community: How can I raise the visibility of my PR and see if it fits with the project? |
Beta Was this translation helpful? Give feedback.
0 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
I created a model and when I try to import it I get an error about the primary key the examples I'm seeing look like this online
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.19
Python Version
3.8.16
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions