Skip to content

Commit a426862

Browse files
committed
revert
1 parent 55ebd2b commit a426862

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/models-library/src/models_library/projects_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _convert_from_enum(cls, v):
359359
if isinstance(v, str):
360360
# the old version of state was a enum of RunningState
361361
running_state_value = _convert_old_enum_name(v)
362-
return NodeState(current_status=running_state_value, lock_state=None)
362+
return NodeState(current_status=running_state_value)
363363
return v
364364

365365
@staticmethod

services/web/server/src/simcore_service_webserver/projects/_projects_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ async def update_project_node_state(
11661166
project_id=project_id,
11671167
node_id=node_id,
11681168
partial_node=PartialNode.model_construct(
1169-
state=NodeState(current_status=RunningState(new_state), lock_state=None)
1169+
state=NodeState(current_status=RunningState(new_state))
11701170
),
11711171
)
11721172
return await get_project_for_user(

0 commit comments

Comments
 (0)