kyleburke-meq commented on issue #40799:
URL: https://github.com/apache/airflow/issues/40799#issuecomment-2278016869

   @uranusjr we want to be able to define a `map_index_template` at the task 
group level that all expanded tasks in the group will use. for example if i 
define a task group like this:
   ```python
   @task_group(map_index_template="{{ task.op_kwargs['filename'] }}")
   def file_transforms(filename):
       extracted_file = extract(filename)
       load_file(extracted_file)
   
   file_transforms.expand(filename=["data1.json", "data2.json"])
   ```
   
   Then in the UI i'd expect to see the mapped index for the extracted_file 
tasks and load_file tasks.


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