You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/17 15:42:24 UTC

[GitHub] [airflow] mik-laj commented on issue #6875: [AIRFLOW-6076] Fix dag.cli() Key error

mik-laj commented on issue #6875: [AIRFLOW-6076] Fix dag.cli() Key error
URL: https://github.com/apache/airflow/pull/6875#issuecomment-587051727
 
 
   `dag.cli()` still doesn't work. 
   ```
   16:39 $ python airflow/example_dags/example_complex.py
   Traceback (most recent call last):
     File "airflow/example_dags/example_complex.py", line 224, in <module>
       dag.cli()
     File "/Users/kamilbregula/devel/google-airflow/airflow/airflow/models/dag.py", line 1398, in cli
       parser = cli.CLIFactory.get_parser(dag_parser=True)
     File "/Users/kamilbregula/devel/google-airflow/airflow/airflow/bin/cli.py", line 1057, in get_parser
       sub = cls.subparsers_dict[sub]
   KeyError: 'backfill'
   ```
   What do you mean by "These PR changes are already there in the master"? CLI is developing very intensively, but all the issues have not yet been resolved.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services