Skip to main content

Module trigger

Module trigger 

Source
Expand description

A DAG’s trigger, as stored in DAG JSON: what starts its runs.

Cron expressions and time zone names are validated by the master when it stores a DAG; here they are plain data (see archive/PROJECT.md, Native API: triggers are typed objects).

Structs§

RunEvent
What a @trigger found, as stored and given to the run it starts.

Enums§

Trigger
What starts runs of a DAG besides people.

Constants§

MAX_EVENT_KEY
The longest key an event may have, in bytes: it is stored with every event and sent back as a trigger’s after. Python says it first (RunEvent’s data is limited by the trigger’s max_output_size).

Functions§

acts_on_display
Whether a terminal or a page would act on c instead of showing it: a control character, a line or paragraph separator, or a bidirectional override or isolate (Grok’s review of M4.11e: a key with U+2028 broke schedr events list’s table).
check_event_key
Whether a text can be an event’s key.