dstandish commented on code in PR #40468:
URL: https://github.com/apache/airflow/pull/40468#discussion_r1664458299
##########
airflow/executors/base_executor.py:
##########
@@ -130,6 +131,10 @@ def __init__(self, parallelism: int = PARALLELISM):
self.running: set[TaskInstanceKey] = set()
self.event_buffer: dict[TaskInstanceKey, EventBufferValueType] = {}
self.attempts: dict[TaskInstanceKey, RunningRetryAttemptType] =
defaultdict(RunningRetryAttemptType)
+ self.task_context_logger: TaskContextLogger = TaskContextLogger(
+ component_name="Executor",
Review Comment:
i would make the name lowercase because this will end up in the filename.
maybe update TaskContextLogger to raise an error if given a non-lowercase
component name?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]