We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b965df1 commit 79126a8Copy full SHA for 79126a8
api/specs/web-server/_long_running_tasks.py
@@ -53,8 +53,20 @@ def get_async_job_status(
53
54
@router.delete(
55
"/tasks/{task_id}",
56
- name="cancel_and_delete_task",
57
- description="Cancels and deletes a task",
+ name="delete_task",
+ description="Deletes a task",
58
+ responses=_export_data_responses,
59
+ status_code=status.HTTP_204_NO_CONTENT,
60
+)
61
+def selete_async_job(
62
+ _path_params: Annotated[_PathParam, Depends()],
63
+): ...
64
+
65
66
+@router.post(
67
+ "/tasks/{task_id}:abort",
68
+ name="abort_task",
69
+ description="Aborts a task",
70
responses=_export_data_responses,
71
status_code=status.HTTP_204_NO_CONTENT,
72
)
0 commit comments