kevinhongzl commented on PR #56346:
URL: https://github.com/apache/airflow/pull/56346#issuecomment-3368140972

   Appreciate your comments and review @seanghaeli ! 
   
   As I'm working on this issue, I also reviewed relevant PRs and discussions 
about clearing task instances in AF2 (#22958, #24699, #45349). Currently, we 
are clearing multiple mapped tasks by passing a list of tuples `[task_id, 
map_index]`. 
   
   There is no `map_indexes` introduced to this api endpoint because it would 
lead to confusion (e.g., what tasks would be referenced if we provide such a 
payload: `"task_ids":["task1", ["task2, 0]], "map_indexes": 1`)
   
   However, your comments reminded me that it might be unclear for users how to 
include the map index when using this endpoint. I'll improve the descriptions 
and documentation as well. Thank you!


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