fix auth manager

This commit is contained in:
IluaAir
2025-07-14 11:58:12 +03:00
parent a0f9aaeaea
commit dd6f06cd12
6 changed files with 7 additions and 8 deletions

View File

@@ -3,10 +3,10 @@ from typing import Protocol
from src.repository.users import UsersRepo
class IUnitOfWork(Protocol):
class IUOWDB(Protocol):
user: UsersRepo
async def __aenter__(self) -> "IUnitOfWork": ...
async def __aenter__(self) -> "IUOWDB": ...
async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: ...