This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 4c499f59a88bf079678ed5a25b4fc8a1a0a56fb5 Author: Shubham Raj <48172486+shubhamraj-...@users.noreply.github.com> AuthorDate: Fri Oct 20 14:57:27 2023 +0530 doc change (#35075) Co-authored-by: Shubham <shubham...@cloudera.com> (cherry picked from commit a4ab95abf91aaff0aaf8f0e393a2346f5529a6d2) --- docs/apache-airflow/core-concepts/dags.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apache-airflow/core-concepts/dags.rst b/docs/apache-airflow/core-concepts/dags.rst index 5069eca9f8..7a5a216db2 100644 --- a/docs/apache-airflow/core-concepts/dags.rst +++ b/docs/apache-airflow/core-concepts/dags.rst @@ -105,7 +105,7 @@ There are two main ways to declare individual task dependencies. The recommended Or, you can also use the more explicit ``set_upstream`` and ``set_downstream`` methods:: - first_task.set_downstream(second_task, third_task) + first_task.set_downstream([second_task, third_task]) third_task.set_upstream(fourth_task) There are also shortcuts to declaring more complex dependencies. If you want to make two lists of tasks depend on all parts of each other, you can't use either of the approaches above, so you need to use ``cross_downstream``::