Skip to content

Commit aee8dae

Browse files
committed
@copilot review
1 parent f462890 commit aee8dae

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,7 @@ class NodeState(BaseModel):
171171
),
172172
] = 0
173173

174-
lock_state: Annotated[
175-
NodeShareState, Field(description="the node's lock state")
176-
] = NodeShareState(locked=False, current_user_groupids=None, status=None)
174+
lock_state: Annotated[NodeShareState, Field(description="the node's lock state")]
177175

178176
model_config = ConfigDict(
179177
extra="forbid",

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
@@ -1257,7 +1257,7 @@ async def patch_project_node(
12571257
updated_project = await add_project_states_for_user(
12581258
user_id=user_id, project=updated_project, app=app
12591259
)
1260-
# 5. Updates project states for user, if inputs/outputs have been changed
1260+
# 5. if inputs/outputs have been changed all depending nodes shall be notified
12611261
if {"inputs", "outputs"} & _node_patch_exclude_unset.keys():
12621262
for node_uuid in updated_project["workbench"]:
12631263
await notify_project_node_update(

0 commit comments

Comments
 (0)