fix auth manager
This commit is contained in:
@@ -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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user