Flyte 2 is available today for local execution - distributed execution coming to open source soon. Preview Flyte 2 for production, hosted on Union.ai
2.1.2

Notification

Package: flyte.notify

Base notification class.

All notification types must specify phases when they should trigger.

Parameters

class Notification(
    on_phase: typing.Union[flyte.models.ActionPhase, typing.Tuple[flyte.models.ActionPhase, ...]],
)
Parameter Type Description
on_phase typing.Union[flyte.models.ActionPhase, typing.Tuple[flyte.models.ActionPhase, ...]]