Files

14 lines
554 B
Python
Raw Permalink Normal View History

"""Notifications: the event catalog, raising and resolving events, routing, delivery and the digest.
Everyone else calls `raise_event` and `resolve_event` inside their own transaction. Only the notify-send and
notify-digest jobs (and the Admin's test send) talk to the mail relay.
"""
from __future__ import annotations
from .catalog import EVENT_TYPES, SECURITY_TYPES, EventType
from .events import raise_event, resolve_event
from .seeding import seed
__all__ = ["EVENT_TYPES", "SECURITY_TYPES", "EventType", "raise_event", "resolve_event", "seed"]