mirror of
https://github.com/StepanovPlaton/torrent_backend.git
synced 2026-04-03 20:30:38 +04:00
Add swagger examples and description
This commit is contained in:
@@ -15,7 +15,7 @@ Base = declarative_base()
|
||||
|
||||
async def get_session() -> AsyncSession: # type: ignore
|
||||
async with async_session() as session: # type: ignore
|
||||
yield session
|
||||
yield session # type: ignore
|
||||
|
||||
|
||||
async def drop_all():
|
||||
|
||||
Reference in New Issue
Block a user