from airflow.sdk import DAG, Label, TriggerRule # Label is optional here, but it can help identify more complex branches branching >> Label(option) >> t >> empty_follow >> join
What does the Label class do?
✅ What Label does
Label lets you place text labels on edges between tasks in the Airflow Graph View.
It does not affect scheduling, execution, dependencies, or logic — it is purely a visual annotation.


浙公网安备 33010602011771号