config
Sets one TriggerDagRunOperator setting, named as Python names the parameter.
| Key | Value |
|---|---|
trigger_run_id | String; generated when unset, and for a run with no logical date from run_after plus a random eight-character suffix |
conf | Map with string keys and JSON values |
logical_date | OffsetDateTime or Instant; the trigger time when neither this nor run_after is set, and none when only run_after is |
run_after | OffsetDateTime or Instant |
reset_dag_run | Boolean: clear a run with the same ID instead of failing |
wait_for_completion | Boolean: hold this task open until the run finishes |
poke_interval | Duration, whole seconds; 60 seconds when unset |
allowed_states | states that count as success; success when unset |
failed_states | states that count as failure; failed when unset |
skip_when_already_exists | Boolean: skip rather than fail when the run exists |
fail_when_dag_is_paused | Boolean: fail rather than trigger a paused Dag |
note | String recorded against the triggered run |
deferrable | Boolean: while waiting, defer instead of holding the worker |
A deferrable left unset follows Airflow's [operators] default_deferrable.
Return
This task, for chaining.
Parameters
key
One of the keys above.
value
Value of the shape that key takes.
Throws
if the key is unknown or the value does not match it.