Here’s a technical write-up on — covering what it is, how it works, use cases, limitations, and best practices. XCom in Apache Airflow: Cross-Communication Between Tasks 1. Overview In Apache Airflow, each task instance is typically isolated. Tasks cannot share variables or data directly. XCom (short for cross-communication ) is the mechanism that allows tasks to exchange small pieces of data.
push = PythonOperator(task_id='push_task', python_callable=push_function) pull = PythonOperator(task_id='pull_task', python_callable=pull_function) xcom airflow
push >> pull
Enter your email to get our special. Gift straight to your inbox.