OscarLigthart commented on code in PR #62812:
URL: https://github.com/apache/airflow/pull/62812#discussion_r2908258611
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/task_instances.py:
##########
@@ -215,6 +215,29 @@ def validate_new_state(cls, ns: str | None) -> str:
return ns
+class PatchTaskGroupBody(StrictBaseModel):
+ """Request body for patching the state of all task instances in a task
group."""
+
+ new_state: TaskInstanceState
+ include_future: bool = False
+ include_past: bool = False
Review Comment:
Added back! I thought we wouldn't need them for the UI implementation, but
better to keep them for the endpoint.
--
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]