config
Sets one task-level configuration value.
Keys are Airflow's own task setting names (for example "retries", "queue", "retry_delay"); unknown keys, mismatched value types and a blank "queue" are rejected on the call, so mistakes surface where the task is defined.
Return
This task definition, for chaining.
Parameters
key
Airflow task setting name, e.g. "retries".
value
Value matching the key's schema type. Durations take java.time.Duration, date-times java.time.OffsetDateTime or java.time.Instant.
Throws
if the key is unknown, the value type does not match, or "queue" is blank.