This commit is contained in:
IluaAir
2025-07-06 12:20:41 +03:00
parent b6ec15af29
commit 31879ddf30
5 changed files with 76 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ from src.core.database import async_session_maker
async def get_db() -> AsyncGenerator[AsyncSession, None]:
async with async_session_maker as db:
async with async_session_maker() as db:
yield db