Xcom | In Airflow New!

Xcom | In Airflow New!

Image Image

Xcom | In Airflow New!

One of the first surprises when learning Airflow is that tasks run from each other. You can’t just set task_2.data = task_1.data . So how do you pass a value from one task to another? XComs .

"The bridge?"

# The magic of dependency passing today = get_date() file = download_file(today) # Passing the output directly! process_file(file) xcom in airflow