kiaradlf opened a new issue, #39390:
URL: https://github.com/apache/airflow/issues/39390

   ### Apache Airflow version
   
   2.9.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   As per the confluence wiki, dynamic task mapping [users will have an option 
to click on any generated task (e.g. run_after_loop[0], run_after_loop[1] **or 
run_after_loop[key] if the map function is iterating over a 
dictionary**)](https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-42+Dynamic+Task+Mapping)
 (emphasis mine).
   However, if I use dynamic task mapping with `.expand()` over a dictionary, 
the UI view Mapped Tasks still shows a numerical Map Index for the sub-tasks.
   
   
   ### What you think should happen instead?
   
   It would be nice if it might instead pick up on keys from such dictionary 
inputs such that one would not have to manually specify `map_index_template` 
(alongside setting such a key in the context).
   
   
   ### How to reproduce
   
   - `.expand()` over a dictionary
   - open an operator's web UI view Mapped Tasks
   - find a numerical Map Index for the sub-tasks
   
   
   ### Operating System
   
   ChromeOS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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