Skip to main content

Notification

Base notification class.

Attributes​

AttributeTypeDescription
on_phaseUnion[[ActionPhase](../../models/actionphase.md?sid=flyte_models_actionphase), Tuple[[ActionPhase](../../models/actionphase.md?sid=flyte_models_actionphase), ...]]Specifies the execution phases when the notification should trigger, normalized to a tuple of supported ActionPhase values.

Constructor​

Signature​

def Notification(
on_phase: Union[[ActionPhase](../../models/actionphase.md?sid=flyte_models_actionphase), Tuple[[ActionPhase](../../models/actionphase.md?sid=flyte_models_actionphase), ...]]
) -> null

Parameters​

NameTypeDescription
on_phaseUnion[[ActionPhase](../../models/actionphase.md?sid=flyte_models_actionphase), Tuple[[ActionPhase](../../models/actionphase.md?sid=flyte_models_actionphase), ...]]The phase or phases during which the notification should be triggered.