remove fucking uow and replace it by TransactionContextManager
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
from .uow import UnitOfWork
|
||||
|
||||
__all__ = ("UnitOfWork",)
|
||||
|
@@ -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
|
Reference in New Issue
Block a user