diff --git a/vintasend/services/notification_backends/asyncio_base.py b/vintasend/services/notification_backends/asyncio_base.py index 0502bc9..9ba4c92 100644 --- a/vintasend/services/notification_backends/asyncio_base.py +++ b/vintasend/services/notification_backends/asyncio_base.py @@ -1,10 +1,12 @@ -from abc import ABC, abstractmethod import asyncio import datetime import uuid +from abc import ABC, abstractmethod from typing import TYPE_CHECKING, Iterable + from vintasend.services.utils import get_class_path + if TYPE_CHECKING: from vintasend.services.dataclasses import Notification, UpdateNotificationKwargs @@ -58,6 +60,7 @@ async def persist_notification( send_after: datetime.datetime | None, subject_template: str, preheader_template: str, + metadata: dict | None = None, lock: asyncio.Lock | None = None ) -> "Notification": ...