We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8769f40 commit 901f99bCopy full SHA for 901f99b
docs/tutorial/async/index.md
@@ -100,7 +100,7 @@ async def read_heroes(session: AsyncSession):
100
101
### Async Database Drivers
102
103
-Make sure you use an asynchronous database driver.
+Make sure you use an asynchronous database driver.
104
105
* For **SQLite**, use `aiosqlite` with `sqlite+aiosqlite://`.
106
* For **PostgreSQL**, use `asyncpg` with `postgresql+asyncpg://`.
docs_src/tutorial/async/tutorial001_py310.py
@@ -1,4 +1,4 @@
1
-from fastapi import FastAPI, Depends
+from fastapi import Depends, FastAPI
2
from sqlalchemy.ext.asyncio import create_async_engine
3
from sqlmodel import Field, SQLModel, select
4
from sqlmodel.ext.asyncio import AsyncSession
0 commit comments