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 2020/04/30 19:48:56 UTC

[GitHub] [airflow] YingboWang commented on a change in pull request #8624: Profile hostname for celery executor (#8619)

YingboWang commented on a change in pull request #8624:
URL: https://github.com/apache/airflow/pull/8624#discussion_r418249567



##########
File path: airflow/executors/base_executor.py
##########
@@ -58,7 +58,7 @@ def __init__(self, parallelism: int = PARALLELISM):
         self.queued_tasks: OrderedDict[TaskInstanceKeyType, QueuedTaskInstanceType] \
             = OrderedDict()
         self.running: Set[TaskInstanceKeyType] = set()
-        self.event_buffer: Dict[TaskInstanceKeyType, Optional[str]] = {}
+        self.event_buffer: Dict[TaskInstanceKeyType, Tuple[Optional[str], Any]] = {}

Review comment:
       Yes. I would like to create a custom type for this 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.

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