You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "purnachandergit (via GitHub)" <gi...@apache.org> on 2025/05/02 12:01:16 UTC

Re: [PR] Render custom `map_index_template` on task completion [airflow]

purnachandergit commented on code in PR #49809:
URL: https://github.com/apache/airflow/pull/49809#discussion_r2071513546


##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -983,21 +987,26 @@ def _handle_request(self, msg: ToSupervisor, log: FilteringBoundLogger):
         if isinstance(msg, TaskState):
             self._terminal_state = msg.state
             self._task_end_time_monotonic = time.monotonic()
+            self._rendered_map_index = getattr(msg, "rendered_map_index", None)

Review Comment:
   @uranusjr i have added that piece of code to handle rendered_map_index in the msg object.
   
   Ideally it should be present in the respective msg objects.
   
   Added the code to handle any edge cases if any



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org