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
when i imported this model in two files i got this error : sqlalchemy.exc.InvalidRequestError: Table 'users1' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
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
when i imported this model in two files i got this error :
sqlalchemy.exc.InvalidRequestError: Table 'users1' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.22
Python Version
Python 3.12.6
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions