add tasks repo update uow and manager
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
from typing import Protocol
|
||||
|
||||
from src.repository.tasks import TasksRepo
|
||||
from src.repository.users import UsersRepo
|
||||
|
||||
|
||||
class IUOWDB(Protocol):
|
||||
user: UsersRepo
|
||||
task: TasksRepo
|
||||
|
||||
async def __aenter__(self) -> "IUOWDB": ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user