potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle Executors class to avoid cyclic imports URL: https://github.com/apache/airflow/pull/6596#discussion_r352742152
########## File path: airflow/executors/kubernetes_executor.py ########## @@ -601,18 +629,19 @@ def terminate(self): class KubernetesExecutor(BaseExecutor, LoggingMixin): """Executor for Kubernetes""" + def __init__(self): - self.kube_config = KubeConfig() - self.task_queue = None - self.result_queue = None - self.kube_scheduler = None - self.kube_client = None - self.worker_uuid = None + self.kube_config: KubeConfig = KubeConfig() Review comment: Yeah. ---------------------------------------------------------------- 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