diff --git a/airflow-core/docs/core-concepts/dags.rst b/airflow-core/docs/core-concepts/dags.rst index 91796b1bbcae9..fc329f6f92fd2 100644 --- a/airflow-core/docs/core-concepts/dags.rst +++ b/airflow-core/docs/core-concepts/dags.rst @@ -130,7 +130,7 @@ And if you want to chain together dependencies, you can use ``chain``:: chain(op1, op2, op3, op4) # You can also do it dynamically - chain(*[EmptyOperator(task_id=f"op{i}") for i in range(1, 6)]) + chain(*[EmptyOperator(task_id=f"op{i}") for i in range(1, 5)]) Chain can also do *pairwise* dependencies for lists the same size (this is different from the *cross dependencies* created by ``cross_downstream``!)::