File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
services/api-server/src/simcore_service_api_server/models Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,9 @@ def storage_file_id(self) -> StorageFileID:
137137 return TypeAdapter (StorageFileID ).validate_python (
138138 f"{ program_path .project_id } /{ program_path .node_id } /{ program_path .workspace_path } "
139139 )
140- else :
141- return TypeAdapter (StorageFileID ).validate_python (
142- f"api/{ self .id } /{ self .filename } "
143- )
140+ return TypeAdapter (StorageFileID ).validate_python (
141+ f"api/{ self .id } /{ self .filename } "
142+ )
144143
145144 @property
146145 def quoted_storage_file_id (self ) -> str :
Original file line number Diff line number Diff line change @@ -340,8 +340,7 @@ def get_url(
340340 version = solver_or_program .version ,
341341 job_id = job_id ,
342342 )
343- else :
344- return None
343+ return None
345344
346345
347346def get_runner_url (
@@ -353,8 +352,7 @@ def get_runner_url(
353352 solver_key = solver_or_program .id ,
354353 version = solver_or_program .version ,
355354 )
356- else :
357- return None
355+ return None
358356
359357
360358def get_outputs_url (
@@ -367,8 +365,7 @@ def get_outputs_url(
367365 version = solver_or_program .version ,
368366 job_id = job_id ,
369367 )
370- else :
371- return None
368+ return None
372369
373370
374371PercentageInt : TypeAlias = Annotated [int , Field (ge = 0 , le = 100 )]
You can’t perform that action at this time.
0 commit comments