uranusjr commented on code in PR #36797:
URL: https://github.com/apache/airflow/pull/36797#discussion_r1462820387
##########
airflow/models/taskinstance.py:
##########
@@ -2502,6 +2511,9 @@ def signal_handler(signum, frame):
# Execute the task
with set_current_context(context):
result = self._execute_task(context, task_orig)
+ self.rendered_map_index =
jinja_env.from_string(context["map_index_template"]).render(
+ **context
+ )
Review Comment:
```suggestion
self.rendered_map_index =
jinja_env.from_string(task_orig.map_index_template).render(context)
```
--
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]