dabla commented on code in PR #55068:
URL: https://github.com/apache/airflow/pull/55068#discussion_r2489510960


##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -1109,6 +1149,14 @@ async def run_trigger(self, trigger_id, trigger):
         name = self.triggers[trigger_id]["name"]
         self.log.info("trigger %s starting", name)
         try:
+            if context:
+                trigger.render_template_fields(context=context)

Review Comment:
   I would keep the check as this, because if context is an empty dict, it also 
doesn't make sense to invoke the render templates method as it won't do 
anything anyway



-- 
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]

Reply via email to