Files
RekomenciBackend/src/template_project/application/common/notifications/service.py
T
2025-11-20 21:25:48 +03:00

9 lines
239 B
Python

from abc import abstractmethod
from typing import Protocol
class NotificationService(Protocol):
@abstractmethod
async def send_notification(self, identifier: str, title: str, body: str) -> None:
raise NotImplementedError