Skip to content

Commit 2961b6f

Browse files
fix: nullable workbench
1 parent 1adee7e commit 2961b6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ class BaseProjectModel(BaseModel):
109109
# Pipeline of nodes (SEE projects_nodes.py)
110110
# FIXME: pedro checks this one
111111
# NOTE: GCG: a validation failed (See: services/storage/src/simcore_service_storage/modules/db/projects.py)
112-
# workbench: Annotated[NodesDict, Field(description="Project's pipeline")]
112+
workbench: Annotated[NodesDict, Field(description="Project's pipeline")] | None = (
113+
None
114+
)
113115

114116

115117
class ProjectAtDB(BaseProjectModel):

0 commit comments

Comments
 (0)