purnachandergit commented on code in PR #49809:
URL: https://github.com/apache/airflow/pull/49809#discussion_r2066105888
##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -1099,6 +1130,19 @@ def _execute_task(context: Context, ti:
RuntimeTaskInstance, log: Logger):
return result
+def _render_map_index(context: Context, ti: RuntimeTaskInstance, log: Logger)
-> str | None:
+ """Render named map index if the DAG author defined map_index_template at
the task level."""
+ if template := context.get("map_index_template") is None:
+ return None
Review Comment:
@kaxil yes, i was facing issue with that only. I have figured it out.
Thanks for pointing it out
--
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]