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 2021/12/08 17:33:21 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #18439: Check and run migration in commands if necessary

uranusjr commented on a change in pull request #18439:
URL: https://github.com/apache/airflow/pull/18439#discussion_r765079267



##########
File path: airflow/cli/commands/celery_command.py
##########
@@ -37,7 +37,7 @@
 WORKER_PROCESS_NAME = "worker"
 
 
-@cli_utils.action_logging
+@cli_utils.action_cli()

Review comment:
       FWIW I personally like to do this because I hate the _first argument is the function unless you need a flag when the decorator becomes a function_ complexity, and perfer to always just implement the callable-returning-decorator case.




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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org