create interface uow update services to uow

This commit is contained in:
IluaAir
2025-07-11 21:48:42 +03:00
parent 61512f70d4
commit b12bb65268
5 changed files with 20 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ from fastapi import Depends
from sqlalchemy.ext.asyncio import AsyncSession
from src.core.database import async_session_maker
from src.utils.db_manager import DBManager
from src.core.db_manager import DBManager
async def get_db() -> AsyncGenerator[AsyncSession, None]:
@@ -13,5 +13,3 @@ async def get_db() -> AsyncGenerator[AsyncSession, None]:
sessionDep = Annotated[AsyncSession, Depends(get_db)]