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/03/28 15:40:42 UTC
[GitHub] [airflow] zhongjiajie commented on a change in pull request #7902:
Enable celery command in any environment
zhongjiajie commented on a change in pull request #7902: Enable celery command in any environment
URL: https://github.com/apache/airflow/pull/7902#discussion_r399675719
##########
File path: airflow/cli/cli_parser.py
##########
@@ -1102,11 +1120,12 @@ class GroupCommand(NamedTuple):
func=lazy_load_command('airflow.cli.commands.config_command.show_config'),
args=(),
),
-]
-if conf.get("core", "EXECUTOR") == ExecutorLoader.CELERY_EXECUTOR or BUILD_DOCS:
- airflow_commands.append(GroupCommand(
+ GroupCommand(
name="celery",
- help="Start celery components",
+ help=(
+ 'Start celery components. Works only when using CeleryExecutor. for more information, see '
Review comment:
```suggestion
'Start celery components. Works only when using CeleryExecutor. For more information, see '
```
----------------------------------------------------------------
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