Skip to content

Commit 6e287d9

Browse files
fix
1 parent 763586a commit 6e287d9

File tree

1 file changed

+3
-1
lines changed
  • packages/models-library/src/models_library/api_schemas_webserver

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ class ProjectPatch(InputSchema):
149149
StudyUI | None,
150150
BeforeValidator(empty_str_to_none_pre_validator),
151151
PlainSerializer(
152-
lambda obj: jsonable_encoder(obj, exclude_unset=True, by_alias=False)
152+
lambda obj: jsonable_encoder(
153+
obj, exclude_unset=True, by_alias=False
154+
) # For the sake of backward compatibility
153155
),
154156
] = Field(default=None)
155157
quality: dict[str, Any] | None = Field(default=None)

0 commit comments

Comments
 (0)