kaxil commented on a change in pull request #6596: [AIRFLOW-6004] Untangle 
Executors class to avoid cyclic imports. Depends on [AIRFLOW-6010]
URL: https://github.com/apache/airflow/pull/6596#discussion_r350367361
 
 

 ##########
 File path: airflow/executors/celery_executor.py
 ##########
 @@ -256,6 +260,12 @@ def sync(self):
         self._sync_pool.join()
         self.log.debug("Inquiries completed.")
 
+        self.update_task_states(task_keys_to_states)
+
+    def update_task_states(self,
 
 Review comment:
   I think this function is not required as we don't use it elsewhere unless of 
course I have not seen it yet :). `update_task_state` is fine.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to