[Feature] Add Support for Custom Map Indexing with map_index_template
#302
Labels
enhancement
New feature or request
map_index_template
#302
Description
Airflow provides the ability to override the default integer index for mapped tasks in the UI by assigning a custom name based on the task's input. This is achieved using the
map_index_template
parameter, which allows a Jinja template to dynamically generate the index based on the expanded task's inputs.In this configuration, the task instances would appear in the UI with names based on the my_param values (e.g., value1, value2, value3) instead of default numerical indices (0, 1, 2).(how it is done in airflow)
Use case/motivation
Add support in dag-factory to define and utilize
map_index_template
in the YAML configuration. This would allow users to customize the indexing of mapped tasks for better readability and debugging in the Airflow UI.Benefits:
The text was updated successfully, but these errors were encountered: