This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-3-test by this push:
     new 9b7bd554b16 [v3-3-test] Mark dags details for airflowctl (#68529) 
(#69222)
9b7bd554b16 is described below

commit 9b7bd554b16c8e9968a83bc47daffb816675f4c9
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jul 3 19:21:19 2026 +0200

    [v3-3-test] Mark dags details for airflowctl (#68529) (#69222)
    
    The airflowctl migration direction keeps the existing airflow CLI behavior 
unchanged and only records commands that should no longer receive new 
development.
    (cherry picked from commit 98f89a0497674d07281b535db3b6c90e77f56bbd)
    
    Co-authored-by: Henry Chen <[email protected]>
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 airflow-core/src/airflow/cli/commands/dag_command.py              | 1 +
 airflow-core/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 756048af14d..6a5b9b3a7cf 100644
--- a/airflow-core/src/airflow/cli/commands/dag_command.py
+++ b/airflow-core/src/airflow/cli/commands/dag_command.py
@@ -614,6 +614,7 @@ def dag_list_dags(args, *, session: Session = NEW_SESSION) 
-> None:
     )
 
 
+@deprecated_for_airflowctl("airflowctl dags get-details")
 @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 bf9c181779c..44f23c11119 100644
--- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
+++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py
@@ -42,6 +42,7 @@ from airflow.cli.commands import (
 MIGRATED_CLI_COMMANDS = [
     (dag_command.dag_trigger, "airflowctl dags trigger"),
     (dag_command.dag_delete, "airflowctl dags delete"),
+    (dag_command.dag_details, "airflowctl dags get-details"),
     (pool_command.pool_list, "airflowctl pools list"),
     (pool_command.pool_get, "airflowctl pools get"),
     (pool_command.pool_set, "airflowctl pools create"),

Reply via email to