omkar-foss commented on code in PR #44246:
URL: https://github.com/apache/airflow/pull/44246#discussion_r1852988016


##########
airflow/api_fastapi/core_api/datamodels/task_instances.py:
##########
@@ -150,3 +151,44 @@ class TaskInstanceHistoryCollectionResponse(BaseModel):
 
     task_instances: list[TaskInstanceHistoryResponse]
     total_entries: int
+
+
+class SetTaskInstancesStateBody(BaseModel):
+    """Request body for Set Task Instances State endpoint."""
+
+    dry_run: bool = True
+    task_id: str
+    dag_run_id: str
+    include_upstream: bool
+    include_downstream: bool
+    include_future: bool
+    include_past: bool
+    new_state: str

Review Comment:
   Right, setting note is covered in 
https://github.com/apache/airflow/pull/44223



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