Repository navigation
Replies: 1 comment
|
I reproduced the duplicate-registration error by executing one model definition under two module names with SQLModel 0.0.48 and SQLAlchemy 2.1.6 on Python 3.12. That doesn't establish which case is happening in your project. Could you share the full collection traceback, the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
First Check
Example Code
Description
fastapi devseems to workpython -m pytestfails during collection, specifically withsqlalchemy.exc.InvalidRequestError: Table 'mytable' is already defined for this MetaData instance.Specify 'extend_existing=True' to redefine options and columns on an existing Table object.Operating System
macOS
Operating System Details
No response
Project Version
0.0.48
Python Version
3.13.6
Additional Context
No response
All reactions