File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2626 name = "list_tasks" ,
2727 description = "Lists all long running tasks" ,
2828)
29- def list_tasks (): ...
29+ async def list_tasks (): ...
3030
3131
3232@router .get (
@@ -35,7 +35,7 @@ def list_tasks(): ...
3535 name = "get_task_status" ,
3636 description = "Retrieves the status of a task" ,
3737)
38- def get_task_status (
38+ async def get_task_status (
3939 _path_params : Annotated [_PathParam , Depends ()],
4040): ...
4141
@@ -46,7 +46,7 @@ def get_task_status(
4646 description = "Cancels and deletes a task" ,
4747 status_code = status .HTTP_204_NO_CONTENT ,
4848)
49- def cancel_and_delete_task (
49+ async def cancel_and_delete_task (
5050 _path_params : Annotated [_PathParam , Depends ()],
5151): ...
5252
@@ -57,6 +57,6 @@ def cancel_and_delete_task(
5757 response_model = Any ,
5858 description = "Retrieves the result of a task" ,
5959)
60- def get_task_result (
60+ async def get_task_result (
6161 _path_params : Annotated [_PathParam , Depends ()],
6262): ...
You can’t perform that action at this time.
0 commit comments