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/08/02 10:31:40 UTC

[GitHub] [airflow] ephraimbuddy commented on pull request #10115: Add Legacy command displaying new CLI counterparts

ephraimbuddy commented on pull request #10115:
URL: https://github.com/apache/airflow/pull/10115#issuecomment-667656582


   > CI is failing:
   > 
   > ```
   > 
   > self = DefaultHelpParser(prog='airflow celery', usage=None, description='Start celery components. Works only when using Celer...xecutor/celery.html', formatter_class=<class 'argparse.RawTextHelpFormatter'>, conflict_handler='error', add_help=True)
   > action = _SubParsersAction(option_strings=[], dest='subcommand', nargs='A...', const=None, default=None, type=None, choices={'f...class=<class 'argparse.RawTextHelpFormatter'>, conflict_handler='error', add_help=True)}, help=None, metavar='COMMAND')
   > value = 'worker'
   > 
   >     def _check_value(self, action, value):
   >         """Override _check_value and check conditionally added command"""
   >         executor = conf.get('core', 'EXECUTOR')
   >         if value == 'celery' and executor != ExecutorLoader.CELERY_EXECUTOR:
   >             message = f'celery subcommand works only with CeleryExecutor, your current executor: {executor}'
   >             raise ArgumentError(action, message)
   > >       check_value(action, value)
   > 
   > airflow/cli/cli_parser.py:69: 
   > ```
   
   It is like the `worker` command is still in use in the CI instead of `celery worker`?


----------------------------------------------------------------
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