Skip to content

Notify

dotflow.abc.notify.Notify

Bases: ABC

Notify

Source code in dotflow/abc/notify.py
 7
 8
 9
10
11
12
class Notify(ABC):
    """Notify"""

    @abstractmethod
    def hook_status_task(self, task: Any) -> None:
        """Hook called when a task status changes."""

hook_status_task(task) abstractmethod

Hook called when a task status changes.

Source code in dotflow/abc/notify.py
10
11
12
@abstractmethod
def hook_status_task(self, task: Any) -> None:
    """Hook called when a task status changes."""