potiuk commented on a change in pull request #6702: [AIRFLOW-6140] Add missing 
types for some core classes. Depends on [AIRFLOW-6004]
URL: https://github.com/apache/airflow/pull/6702#discussion_r353399943
 
 

 ##########
 File path: airflow/executors/executor_loader.py
 ##########
 @@ -25,11 +25,11 @@ class ExecutorLoader:
     Keeps constants for all the currently available executors.
     """
 
-    LOCAL_EXECUTOR = "LocalExecutor"
-    SEQUENTIAL_EXECUTOR = "SequentialExecutor"
-    CELERY_EXECUTOR = "CeleryExecutor"
-    DASK_EXECUTOR = "DaskExecutor"
-    KUBERNETES_EXECUTOR = "KubernetesExecutor"
+    LOCAL_EXECUTOR: str = "LocalExecutor"
+    SEQUENTIAL_EXECUTOR: str = "SequentialExecutor"
+    CELERY_EXECUTOR: str = "CeleryExecutor"
+    DASK_EXECUTOR: str = "DaskExecutor"
+    KUBERNETES_EXECUTOR: str = "KubernetesExecutor"
 
 Review comment:
   Not really :)

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


With regards,
Apache Git Services

Reply via email to