dstandish commented on code in PR #27758:
URL: https://github.com/apache/airflow/pull/27758#discussion_r1061253726
##########
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:
Ideally yes but it was a good number of them like 8 or 9 I think. I would
like to leave that for another day. Maybe a to-do would suffice?
--
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]