File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
packages/models-library/src/models_library
services/web/server/src/simcore_service_webserver/projects/_controller Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3535from .services import ServiceKey , ServiceVersion
3636from .utils .enums import StrAutoEnum
3737
38- InputTypes = Union [
38+ InputTypes = Union [ # noqa: UP007
3939 # NOTE: WARNING the order in Union[*] below matters!
4040 StrictBool ,
4141 StrictInt ,
4747 DownloadLink ,
4848 list [Any ] | dict [str , Any ], # arrays | object
4949]
50- OutputTypes = Union [
50+ OutputTypes = Union [ # noqa: UP007
5151 # NOTE: WARNING the order in Union[*] below matters!
5252 StrictBool ,
5353 StrictInt ,
@@ -318,7 +318,6 @@ def _convert_empty_str_to_none(cls, v):
318318 @classmethod
319319 def _convert_from_enum (cls , v ):
320320 if isinstance (v , str ):
321-
322321 # the old version of state was a enum of RunningState
323322 running_state_value = _convert_old_enum_name (v )
324323 return NodeState (current_status = running_state_value )
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ async def delete_node(request: web.Request) -> web.Response:
210210 request ,
211211 path_params .project_id ,
212212 req_ctx .user_id ,
213- NodeIDStr ( path_params .node_id ) ,
213+ f" { path_params .node_id } " ,
214214 req_ctx .product_name ,
215215 product_api_base_url = get_api_base_url (request ),
216216 )
You can’t perform that action at this time.
0 commit comments