class openssa.deprecated.ooda_rag.notifier.Notifier

Bases: ABC

abstract notify(event: str, data: Dict[str, Any]) None

Send a notification with event type and data.

class openssa.deprecated.ooda_rag.notifier.SimpleNotifier

Bases: Notifier

notify(event: str, data: Dict[str, Any]) None

Send a notification with event type and data.

class openssa.deprecated.ooda_rag.notifier.EventTypes

Bases: object

MAINTASK = 'ooda-maintask'
MAIN_PROBELM_STATEMENT = 'ooda-main-problem-statement'
NOTIFICATION = 'notification'
SUBTASK = 'ooda-subtask'
SUBTASK_BEGIN = 'ooda-subtask-begin'
TASK_RESULT = 'task_result'
SWICTH_MODE = 'switch_mode'