From 8a6d1788a8eaf50b908a4101d0a9908a0e9291f1 Mon Sep 17 00:00:00 2001 From: haseebmalik18 Date: Mon, 20 Jul 2026 21:24:07 -0400 Subject: [PATCH] Mark dags list-jobs as migrated to airflowctl #68402 --- airflow-core/src/airflow/cli/commands/dag_command.py | 1 + .../tests/unit/cli/commands/test_command_deprecations.py | 1 + 2 files changed, 2 insertions(+) diff --git a/airflow-core/src/airflow/cli/commands/dag_command.py b/airflow-core/src/airflow/cli/commands/dag_command.py index e37580d7619ca..40e7c08c87f88 100644 --- a/airflow-core/src/airflow/cli/commands/dag_command.py +++ b/airflow-core/src/airflow/cli/commands/dag_command.py @@ -732,6 +732,7 @@ def dag_report(args) -> None: ) +@deprecated_for_airflowctl("airflowctl jobs list") @cli_utils.action_cli @suppress_logs_and_warning @providers_configuration_loaded diff --git a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py index 5e9d0613acd07..d0eda83927334 100644 --- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py +++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py @@ -57,6 +57,7 @@ (dag_command.dag_pause, "airflowctl dags pause"), (dag_command.dag_unpause, "airflowctl dags unpause"), (dag_command.dag_list_dag_runs, "airflowctl dagrun list"), + (dag_command.dag_list_jobs, "airflowctl jobs list"), (dag_command.dag_state, "airflowctl dags state"), (dag_command.dag_next_execution, "airflowctl dags next-execution"), (pool_command.pool_list, "airflowctl pools list"),