pierrejeambrun commented on code in PR #44246:
URL: https://github.com/apache/airflow/pull/44246#discussion_r1852415043


##########
airflow/api_fastapi/core_api/routes/public/task_instances.py:
##########
@@ -482,3 +484,58 @@ def get_mapped_task_instance_try_details(
         map_index=map_index,
         session=session,
     )
+
+
+@task_instances_router.put(
+    "/updateTaskInstancesState",
+    responses=create_openapi_http_exception_doc([status.HTTP_404_NOT_FOUND, 
status.HTTP_400_BAD_REQUEST]),
+)
+def set_task_instances_state(

Review Comment:
   For consistency, I think it should be transformed as for dag_run into 
`patch_dag_run`.
   
   A PATCH that can take only a state for now, but it will be easier to extend. 
It should also allow PATCHING the note.



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