mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
format code
This commit is contained in:
@@ -16,7 +16,11 @@ engine = create_async_engine(
|
||||
|
||||
# expire_on_commit=False will prevent attributes from being expired
|
||||
# after commit.
|
||||
AsyncSessionFactory = async_sessionmaker(engine, autoflush=False, expire_on_commit=False,)
|
||||
AsyncSessionFactory = async_sessionmaker(
|
||||
engine,
|
||||
autoflush=False,
|
||||
expire_on_commit=False,
|
||||
)
|
||||
|
||||
|
||||
# Dependency
|
||||
|
||||
Reference in New Issue
Block a user