Skip to content

Commit 5463dc2

Browse files
committed
use model_dump
1 parent f48c4a9 commit 5463dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -1877,7 +1877,7 @@ async def add_project_states_for_user(
18771877

18781878
# upgrade the project
18791879
node.setdefault("state", {}).update(
1880-
node_state.model_dump_json(by_alias=True, exclude_unset=True)
1880+
node_state.model_dump(mode="json", by_alias=True, exclude_unset=True)
18811881
)
18821882
if "progress" in node["state"] and node["state"]["progress"] is not None:
18831883
# ensure progress is a percentage

0 commit comments

Comments
 (0)