add tasks repo update uow and manager

This commit is contained in:
IluaAir
2025-08-08 14:04:33 +03:00
parent 6657f55545
commit 9c20b7690c
3 changed files with 9 additions and 0 deletions

View File

@@ -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": ...