Skip to content

Commit 937c7c2

Browse files
continue fixing
1 parent d8f6823 commit 937c7c2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/postgres-database/src/simcore_postgres_database/utils_projects_nodes.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ class ProjectNodeCreate(BaseModel):
4646
progress: float | None = None
4747
thumbnail: str | None = None
4848
input_access: Annotated[dict[str, Any] | None, Field(alias="inputAccess")] = None
49-
input_nodes: list[str] | None = None
49+
input_nodes: Annotated[list[str] | None, Field(alias="inputNodes")] = None
5050
inputs: dict[str, Any] | None = None
51-
inputs_units: dict[str, Any] | None = None
52-
output_nodes: list[str] | None = None
51+
inputs_units: Annotated[dict[str, Any] | None, Field(alias="inputUnits")] = None
52+
output_nodes: Annotated[list[str] | None, Field(alias="outputNodes")] = None
5353
outputs: dict[str, Any] | None = None
54-
run_hash: str | None = None
54+
run_hash: Annotated[str | None, Field(alias="runHash")] = None
5555
state: dict[str, Any] | None = None
5656
parent: str | None = None
57-
boot_options: dict[str, Any] | None = None
57+
boot_options: Annotated[dict[str, Any] | None, Field(alias="bootOptions")] = None
5858

5959
@classmethod
6060
def get_field_names(cls, *, exclude: set[str]) -> set[str]:
@@ -98,7 +98,7 @@ async def add(
9898
[
9999
{
100100
"project_uuid": f"{self.project_uuid}",
101-
**node.model_dump(exclude_unset=True),
101+
**node.model_dump(),
102102
}
103103
for node in nodes
104104
]

0 commit comments

Comments
 (0)