config

fun config(key: String, value: Any?): TaskRef<T>

Sets one task-level configuration value, so a task built through DagDef.task is configured where it is created.

Return

This handle, for chaining.

Parameters

key

Airflow task setting name.

value

Value matching the key's schema type.

Throws

if the key is unknown or the value type does not match.