remove fucking uow and replace it by TransactionContextManager

This commit is contained in:
2024-04-23 08:10:17 +00:00
parent 12d61e01e1
commit ad92682eda
11 changed files with 108 additions and 89 deletions

View File

@@ -1,3 +0,0 @@
from .uow import UnitOfWork
__all__ = ("UnitOfWork",)

View File

@@ -1,9 +0,0 @@
from typing import Protocol
class UnitOfWork(Protocol):
async def commit(self) -> None:
raise NotImplementedError
async def rollback(self) -> None:
raise NotImplementedError