Process Flow - TaskFlow API for cleaner XCom
Define Python function task
Decorate with @task
Use function in DAG context
Return value auto-pushed to XCom
Downstream task receives value as argument
No manual XCom push/pull needed
DAG runs cleanly
The TaskFlow API lets you write Python functions as tasks that automatically pass data via XCom without manual push or pull.