add User return schema
This commit is contained in:
@@ -6,11 +6,8 @@ from src.repository.users import UsersRepo
|
||||
class IUnitOfWork(Protocol):
|
||||
user: UsersRepo
|
||||
|
||||
async def __aenter__(self) -> "IUnitOfWork":
|
||||
...
|
||||
async def __aenter__(self) -> "IUnitOfWork": ...
|
||||
|
||||
async def __aexit__(self, exc_type, exc_val, exc_tb) -> None:
|
||||
...
|
||||
async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: ...
|
||||
|
||||
async def commit(self) -> None:
|
||||
...
|
||||
async def commit(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user