You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/deprecations.py", line 281, in warned
return fn(*args, **kwargs) # type: ignore[no-any-return]
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/mapper.py", line 853, in __init__
self._configure_pks()
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/mapper.py", line 1639, in _configure_pks
raise sa_exc.ArgumentError(
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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