malthe commented on code in PR #28440:
URL: https://github.com/apache/airflow/pull/28440#discussion_r1060425716
##########
airflow/utils/log/file_task_handler.py:
##########
@@ -62,19 +62,29 @@ def __init__(self, base_log_folder: str, filename_template:
str | None = None):
# handler, not the one that calls super()__init__.
stacklevel=(2 if type(self) == FileTaskHandler else 3),
)
+ self.maintain_propagate: bool = False
def set_context(self, ti: TaskInstance) -> None | SetContextPropagate:
"""
Provide task_instance context to airflow task handler.
+ Generally speaking returns None. But if attr `maintain_propagate` has
Review Comment:
I don't really get this one. The `self.maintain_propagate` attribute is
available for anyone to check as it is. The point of the method is to set the
handler to refer to the provided `ti`.
--
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]