feat: add full pay path
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from __future__ import annotations
|
||||
from typing import Protocol, runtime_checkable
|
||||
from src.application.abstractions.repositories import IUserRepository, ISessionRepository
|
||||
from src.application.abstractions.repositories import IOrderRepository,IPaymentRepository
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
@@ -12,8 +12,8 @@ class IUnitOfWork(Protocol):
|
||||
async def rollback(self) -> None: ...
|
||||
|
||||
@property
|
||||
def user_repository(self) -> IUserRepository: ...
|
||||
def order_repository(self) -> IOrderRepository: ...
|
||||
|
||||
@property
|
||||
def session_repository(self) -> ISessionRepository: ...
|
||||
def payment_repository(self) -> IPaymentRepository: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user