File tree Expand file tree Collapse file tree 3 files changed +2
-13
lines changed
services/web/server/src/simcore_service_webserver Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -455,13 +455,13 @@ async def list_computation_collection_run_tasks(
455455 started_at = item .started_at ,
456456 ended_at = item .ended_at ,
457457 log_download_link = item .log_download_link ,
458- name = (
458+ name = ( # type: ignore
459459 custom_metadata .get ("job_name" )
460460 if custom_metadata .get ("job_name" )
461461 else project_uuid_to_workbench [f"{ item .project_uuid } " ][
462462 f"{ item .node_id } "
463463 ].get ("label" , "" )
464- ), # type: ignore
464+ ),
465465 osparc_credits = credits_or_none ,
466466 )
467467 for item , credits_or_none , custom_metadata in zip (
Original file line number Diff line number Diff line change @@ -112,11 +112,8 @@ async def start_computation(request: web.Request) -> web.Response:
112112 f"system-generated/{ path_params .project_id } /{ uuid .uuid4 ()} "
113113 )
114114 else :
115- # assert isinstance(group_id_or_none, str) # nosec
116- # assert uuid.UUID(group_id_or_none)
117115 client_or_system_generated_id = f"{ group_id_or_none } "
118116 group_name = custom_metadata .get ("group_name" , "No Group Name" )
119- # job_name_or_none = custom_metadata.get("job_name")
120117
121118 collection_run_id = await create_comp_run_collection (
122119 request .app ,
Original file line number Diff line number Diff line change @@ -41,14 +41,6 @@ async def get_project_custom_metadata_or_empty_dict(
4141 return output
4242
4343
44- # async def get_project_metadata_or_none(
45- # app: web.Application, project_uuid: ProjectID
46- # ) -> ProjectMetadata | None:
47- # return await _metadata_repository.get_project_metadata_or_none(
48- # engine=get_database_engine(app), project_uuid=project_uuid
49- # )
50-
51-
5244async def set_project_custom_metadata (
5345 app : web .Application ,
5446 user_id : UserID ,
You can’t perform that action at this time.
0 commit comments