vatsrahul1001 commented on code in PR #45349:
URL: https://github.com/apache/airflow/pull/45349#discussion_r1922269408


##########
airflow/api_fastapi/core_api/datamodels/task_instances.py:
##########
@@ -168,7 +168,7 @@ class ClearTaskInstancesBody(BaseModel):
     only_failed: bool = True
     only_running: bool = False
     reset_dag_runs: bool = True
-    task_ids: list[str] | None = None
+    task_ids: list[str | list[str]] | None = None

Review Comment:
   @pierrejeambrun I tried with multiple map index and was not getting Http500
   <img width="1228" alt="image" 
src="https://github.com/user-attachments/assets/776eb295-a1c7-47ba-9b89-4a65a0c6874f";
 />
   
   Also initially I was trying to make it tuple only, however, after I was 
gettingthe  error `invalid json body` when I tried using a tuple afterwards I 
switched to list
   



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