Prajwal7842 commented on code in PR #71592:
URL: https://github.com/apache/airflow/pull/71592#discussion_r4249113222
##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -2289,7 +2290,10 @@ def _render_map_index(context: Context, ti:
RuntimeTaskInstance, log: Logger) ->
return None
log.debug("Rendering map_index_template", template_length=len(template))
jinja_env = ti.task.dag.get_template_env()
- rendered_map_index = jinja_env.from_string(template).render(context)
+ rendered_map_index =
render_template_as_native(jinja_env.from_string(template), context)
Review Comment:
@kaxil updated. Can you please take a look. Thank you
--
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]