You've already forked RekomenciBackend
9 lines
239 B
Python
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
|