File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
services/web/server/src/simcore_service_webserver/tasks Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2929 parse_request_path_parameters_as ,
3030)
3131from servicelib .aiohttp .rest_responses import create_data_response
32+ from servicelib .long_running_tasks import http_endpoint_responses
3233from servicelib .rabbitmq .rpc_interfaces .async_jobs import async_jobs
3334
3435from .._meta import API_VTAG
5859async def get_async_jobs (request : web .Request ) -> web .Response :
5960 inprocess_task_manager = get_tasks_manager (request .app )
6061 inprocess_task_context = get_task_context (request )
61- inprocess_tracked_tasks = inprocess_task_manager .list_tasks (inprocess_task_context )
62+ inprocess_tracked_tasks = http_endpoint_responses .list_tasks (
63+ inprocess_task_manager , inprocess_task_context
64+ )
6265
6366 _req_ctx = AuthenticatedRequestContext .model_validate (request )
6467
You can’t perform that action at this time.
0 commit comments