uranusjr commented on code in PR #27758:
URL: https://github.com/apache/airflow/pull/27758#discussion_r1061328622
##########
airflow/jobs/triggerer_job.py:
##########
@@ -614,7 +614,8 @@ def set_trigger_logging_metadata(self, ti: TaskInstance,
trigger_id, trigger):
:meta private:
"""
- ti.is_trigger_log_context = True
+ if ti: # can be None in tests
+ ti.is_trigger_log_context = True
Review Comment:
Yeah let’s do it in a follow-up PR.
--
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]