006 add controller

This commit is contained in:
Раис Юсупалиев
2026-03-07 23:54:40 +03:00
parent 082e5c11ec
commit 150675cc75
5 changed files with 347 additions and 6 deletions
+4
View File
@@ -17,6 +17,10 @@ from app.schemas.request import DeliveryRequest
from app.schemas.response import DeliveryPrice
class AggregatorServiceError(RuntimeError):
"""Base exception for AggregatorService failures."""
class PriceCacheProtocol(Protocol):
async def get(self, key: str) -> object | None: ...