sqlmodel.ext.asyncio.session import AsyncEngine no longer works #706
Unanswered
bazylhorsey
asked this question in
Questions
Replies: 1 comment
-
Ahoy matey, from sqlalchemy.ext.asyncio import create_async_engine Update like # connectable = AsyncEngine(create_engine(settings.ASYNC_DATABASE_URI, echo=True, future=True))
connectable = create_async_engine(settings.ASYNC_DATABASE_URI, echo=True, future=True) |
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 looked at source and it seems like its actually the same import, but wanted to double check.
All the examples I've found use the former, which is now not supported. Is there a better way to do this in SqlModel 0.12?
Operating System
Other
Operating System Details
Docker running Python 3.11 w/ Poetry
SQLModel Version
v0.12
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions