This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-0-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 7ee72e49b099139a106a1b161059306294569124 Author: Karthikeyan Singaravelan <[email protected]> AuthorDate: Thu Apr 24 00:06:59 2025 +0530 Update docs since --tree flag is tasks list command removed in Airflow 3. (#49623) (cherry picked from commit b4fdf6268d40b8f0aa35eecf8ed4cff770aa7e00) --- airflow-core/docs/faq.rst | 4 ++-- airflow-core/docs/tutorial/fundamentals.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/airflow-core/docs/faq.rst b/airflow-core/docs/faq.rst index e552e024a49..8727deac08e 100644 --- a/airflow-core/docs/faq.rst +++ b/airflow-core/docs/faq.rst @@ -31,8 +31,8 @@ There are very many reasons why your task might not be getting scheduled. Here a - Does your script "compile", can the Airflow engine parse it and find your DAG object? To test this, you can run ``airflow dags list`` and confirm that your DAG shows up in the list. You can also run - ``airflow tasks list foo_dag_id --tree`` and confirm that your task - shows up in the list as expected. If you use the CeleryExecutor, you + ``airflow dags show foo_dag_id`` and confirm that your task + shows up in the graphviz format as expected. If you use the CeleryExecutor, you may want to confirm that this works both where the scheduler runs as well as where the worker runs. diff --git a/airflow-core/docs/tutorial/fundamentals.rst b/airflow-core/docs/tutorial/fundamentals.rst index e1fa0f3684b..c8b4d1e7e88 100644 --- a/airflow-core/docs/tutorial/fundamentals.rst +++ b/airflow-core/docs/tutorial/fundamentals.rst @@ -252,8 +252,8 @@ Let's validate your script further by running a few commands: # prints the list of tasks in the "tutorial" DAG airflow tasks list tutorial - # prints the hierarchy of tasks in the "tutorial" DAG - airflow tasks list tutorial --tree + # prints the graphviz representation of "tutorial" DAG + airflow dags show tutorial Testing Task Instances and DAG Runs
