Skip to content

Commit 0bea039

Browse files
committed
pylint
1 parent b7fb617 commit 0bea039

File tree

1 file changed

+3
-2
lines changed
  • services/web/server/src/simcore_service_webserver/storage

1 file changed

+3
-2
lines changed

services/web/server/src/simcore_service_webserver/storage/_rest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,11 @@ def _create_data_response_from_async_job(
182182
request: web.Request,
183183
async_job: AsyncJobGet,
184184
) -> web.Response:
185+
async_job_id = f"{async_job.job_id}"
185186
return create_data_response(
186187
TaskGet(
187-
task_id=f"{async_job.job_id}",
188-
task_name=f"{async_job.job_id}",
188+
task_id=async_job_id,
189+
task_name=async_job_id,
189190
status_href=f"{request.url.with_path(str(request.app.router['get_async_job_status'].url_for(task_id=async_job_id)))}",
190191
abort_href=f"{request.url.with_path(str(request.app.router['abort_async_job'].url_for(task_id=async_job_id)))}",
191192
result_href=f"{request.url.with_path(str(request.app.router['get_async_job_result'].url_for(task_id=async_job_id)))}",

0 commit comments

Comments
 (0)