Skip to content

processor

django_spire.notification.processors.processor

BaseNotificationProcessor

Bases: ABC

process abstractmethod

Source code in django_spire/notification/processors/processor.py
@abstractmethod
def process(self, notification: Notification):
    raise NotImplementedError

process_list abstractmethod

Source code in django_spire/notification/processors/processor.py
@abstractmethod
def process_list(self, notifications: list[Notification]):
    raise NotImplementedError

process_ready abstractmethod

Source code in django_spire/notification/processors/processor.py
@abstractmethod
def process_ready(self):
    raise NotImplementedError

process_errored abstractmethod

Source code in django_spire/notification/processors/processor.py
@abstractmethod
def process_errored(self):
    raise NotImplementedError