Skip to content

Commit 495a403

Browse files
fix path op names
1 parent c74830b commit 495a403

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/specs/web-server/_long_running_tasks_legacy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@router.get(
2424
"",
2525
response_model=Envelope[list[TaskGet]],
26-
name="list_tasks",
26+
name="list_legacy_tasks",
2727
description="Lists all long running tasks",
2828
)
2929
async def list_tasks(): ...
@@ -32,7 +32,7 @@ async def list_tasks(): ...
3232
@router.get(
3333
"/{task_id}",
3434
response_model=Envelope[TaskStatus],
35-
name="get_task_status",
35+
name="get_legacy_task_status",
3636
description="Retrieves the status of a task",
3737
)
3838
async def get_task_status(
@@ -42,7 +42,7 @@ async def get_task_status(
4242

4343
@router.delete(
4444
"/{task_id}",
45-
name="remove_task",
45+
name="remove_legacy_task",
4646
description="Cancels and removes a task",
4747
status_code=status.HTTP_204_NO_CONTENT,
4848
)
@@ -53,7 +53,7 @@ async def remove_task(
5353

5454
@router.get(
5555
"/{task_id}/result",
56-
name="get_task_result",
56+
name="get_legacy_task_result",
5757
response_model=Any,
5858
description="Retrieves the result of a task",
5959
)

0 commit comments

Comments
 (0)