bbovenzi commented on code in PR #44246:
URL: https://github.com/apache/airflow/pull/44246#discussion_r1852644346
##########
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:
It would be great to include editing the Task Instance note at the same time
like we do for changing a dag run.
--
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]