Skip to content

Commit 2f2af77

Browse files
minor
1 parent 88c88fb commit 2f2af77

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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
@@ -164,7 +164,7 @@ class Node(BaseModel):
164164
ge=0,
165165
le=100,
166166
description="the node progress value (deprecated in DB, still used for API only)",
167-
deprecated=True, # <-- I think this is not true, it is still used by the File Picker (frontend node)
167+
deprecated=True, # <-- Think this is not true, it is still used by the File Picker (frontend nodes)
168168
),
169169
] = None
170170

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from aiohttp import web
44
from models_library.api_schemas_webserver.projects import ProjectDocument
5+
from models_library.groups import GroupID
56
from models_library.projects import ProjectID
67
from models_library.socketio import SocketMessageDict
78
from pydantic import AliasGenerator, BaseModel, ConfigDict
@@ -24,7 +25,7 @@ class BaseEvent(BaseModel):
2425

2526
class ProjectDocumentEvent(BaseEvent):
2627
project_id: ProjectID
27-
user_primary_gid: int
28+
user_primary_gid: GroupID
2829
version: int
2930
document: ProjectDocument
3031

@@ -33,7 +34,7 @@ async def notify_project_document_updated(
3334
app: web.Application,
3435
*,
3536
project_id: ProjectID,
36-
user_primary_gid: int,
37+
user_primary_gid: GroupID,
3738
version: int,
3839
document: ProjectDocument,
3940
) -> None:

0 commit comments

Comments
 (0)