File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ A highly opinionated [SQLAlchemy] extension for [FastAPI]:
1010* ` fastapi_sqla.Base ` a declarative base class to reflect DB tables at startup;
1111* ` fastapi_sqla.Session ` a dependency to get an sqla session;
1212* ` fastapi_sqla.open_session ` a context manager to get an sqla session;
13- * ` fastapi_sqla.async_support .AsyncSession ` a dependency to get an async sqla session ;
14- * ` fastapi_sqla.async_support .open_session ` a context manager to get an async sqla
13+ * ` fastapi_sqla.asyncio_support .AsyncSession ` a dependency to get an async sqla session ;
14+ * ` fastapi_sqla.asyncio_support .open_session ` a context manager to get an async sqla
1515 session;
1616* Automated commit/rollback of sqla session at the end of request before returning
1717 response;
@@ -282,7 +282,7 @@ from pytest import fixture
282282
283283@fixture
284284def sqla_modules ():
285- from er import sqla # noqa
285+ from app import sqla # noqa
286286```
287287
288288### ` db_url `
@@ -293,7 +293,7 @@ When `CI` key is set in environment variables, it defaults to using `postgres` a
293293host name:
294294
295295```
296- postgresql://postgres@posgres /postgres
296+ postgresql://postgres@postgres /postgres
297297```
298298
299299In other cases, the host is set to ` localhost ` :
You can’t perform that action at this time.
0 commit comments