KKcorps opened a new pull request #6874: [AIRFLOW-6076] Fix dag.cli() Key error
URL: https://github.com/apache/airflow/pull/6874
 
 
   Make sure you have checked _all_ steps below.
   
   ### Jira
   
   - [X] My PR addresses the following [Airflow 
Jira](https://issues.apache.org/jira/browse/AIRFLOW/) issues and references 
them in the PR title. For example, "\[AIRFLOW-XXX\] My Airflow PR"
     - https://issues.apache.org/jira/browse/AIRFLOW-6076
   
   ### Description
   
   - [X] Here are some details about my PR, including screenshots of any UI 
changes:
    The DAG cli subcommands are nested inside the main command. The dictionary 
only contained the main commands and not the nested commands. This resulted in 
the KeyError.
   Also, some of the DAG subcommands in `dag_subparsers` had names referring to 
older version.
   
   ### Tests
   
   - [X] My PR adds the following unit tests __OR__ does not need testing for 
this extremely good reason:
    Tests are already present
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to