You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/09/05 06:12:18 UTC

[GitHub] [airflow] potiuk commented on a diff in pull request #34089: Add Celery extra in Breeze when using CeleryExecutor and --use-airflow

potiuk commented on code in PR #34089:
URL: https://github.com/apache/airflow/pull/34089#discussion_r1315411023


##########
dev/breeze/src/airflow_breeze/commands/developer_commands.py:
##########
@@ -721,12 +721,23 @@ def enter_shell(**kwargs) -> RunCommandResult:
 
     if shell_params.backend == "sqlite":
         get_console().print(
-            f"\n[warn]backend: sqlite is not "
+            f"\n[warning]backend: sqlite is not "
             f"compatible with executor: {shell_params.executor}. "
             f"Changing the executor to SequentialExecutor.\n"
         )
         shell_params.executor = "SequentialExecutor"
 
+    if (
+        shell_params.executor == "CeleryExecutor"
+        and shell_params.use_airflow_version
+        and not shell_params.airflow_extras

Review Comment:
   I initially thought that if the user chooses extras, they know what they are doing - but yeah, it will be easy to add `celery` in this case if it's missing.



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