code format

This commit is contained in:
Jakub Miazek
2024-04-24 10:37:08 +02:00
parent 43fe665608
commit c2975fd260
19 changed files with 358 additions and 173 deletions

View File

@@ -31,7 +31,9 @@ async def run_migrations_online():
and associate a connection with the context.
"""
connectable = create_async_engine(settings.asyncpg_url.unicode_string(), future=True)
connectable = create_async_engine(
settings.asyncpg_url.unicode_string(), future=True
)
async with connectable.connect() as connection:
await connection.run_sync(do_run_migrations)