Commit 9ebf40a
Varun Chawla
Export AsyncSession from sqlmodel.ext.asyncio module
AsyncSession was defined in sqlmodel/ext/asyncio/session.py but not exported
from the module's __init__.py, requiring users to use the longer import path.
Before:
from sqlmodel.ext.asyncio.session import AsyncSession
After:
from sqlmodel.ext.asyncio import AsyncSession
This makes the async API more discoverable and consistent with how Session
is exported from sqlmodel.orm.1 parent b707f49 commit 9ebf40a
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments