config
Sets one Dag-level configuration value.
Keys are Airflow's own Dag setting names (for example "schedule", "description", "tags", "catchup"); unknown keys and mismatched value types are rejected on the call, so mistakes surface where the Dag is defined.
"queue" is the one key Airflow's Dag has no setting for. It is the queue every task of the Dag runs on, unless the task sets its own "queue", and it cannot be blank.
Return
This Dag, for chaining.
Parameters
key
Airflow Dag setting name.
value
Value matching the key's schema type. Durations take java.time.Duration, date-times java.time.OffsetDateTime or java.time.Instant, string arrays any Iterable of String.
Throws
if the key is unknown, the value type does not match, or "queue" is blank.