Source code for harp_apps.notifications.typing
from typing import Optional, Protocol
[docs]
class NotificationSender(Protocol):
[docs]
async def send_notification(
self,
method: Optional[str],
url: Optional[str],
status_code: int,
message: str,
transaction_id: Optional[str],
) -> None: ...