forked from mtusi2026/mtusi2026lab2
6 lines
189 B
Python
6 lines
189 B
Python
from sqlalchemy.ext.asyncio import AsyncSession
|
|
from app.database import async_session_maker
|
|
|
|
async def get_session():
|
|
async with async_session_maker() as session:
|
|
yield session |