airflow

Decorated tasks are flexible. You can reuse a decorated task in multiple DAGs, overriding the task parameters such as the task_idqueuepool, etc. partial

Working with TaskFlow — Airflow Documentation (apache.org)

Sometimes an upstream needs to specify multiple arguments to a downstream operator. To do this, you can use the expand_kwargs function, which takes a sequence of mappings to map against.