File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/service-library/src/servicelib/aiohttp/long_running_tasks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55from servicelib .aiohttp import status
66
77from ...long_running_tasks import lrt_api
8- from ...long_running_tasks .models import TaskGet , TaskId , TaskStatus
8+ from ...long_running_tasks .models import TaskGet , TaskId
99from ..requests_validation import parse_request_path_parameters_as
1010from ..rest_responses import create_data_response
1111from ._manager import get_long_running_manager
@@ -41,7 +41,7 @@ async def get_task_status(request: web.Request) -> web.Response:
4141 path_params = parse_request_path_parameters_as (_PathParam , request )
4242 long_running_manager = get_long_running_manager (request .app )
4343
44- task_status : TaskStatus = await lrt_api .get_task_status (
44+ task_status = await lrt_api .get_task_status (
4545 long_running_manager .tasks_manager ,
4646 long_running_manager .get_task_context (request ),
4747 path_params .task_id ,
You can’t perform that action at this time.
0 commit comments