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

   ### Body
   
   We can handle this programmatically, but currently there’s no user interface 
available for this. The “Clear” button in the task modal applies to all the 
mapped tasks no matter which map index is chosen (which also is a UX issue), 
while the `clearTaskInstances` API only takes a list of task IDs.
   
   Currently `DAG.clear()` supports passing in a 2-tuple instead of string to 
clear one single mapped task (e.g. `task_ids=[("my_task", 1)]`). But I’m not 
sure how to expose this in the REST API—something like `{"task_ids": 
[["my_task", 1], "another_task"]}` is difficult to spec in Open API.
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


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