File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/models-library/src/models_library/api_schemas_webserver Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3333class ProjectCreateNew (InputSchema ):
3434 uuid : ProjectID | None = None # NOTE: suggested uuid! but could be different!
3535 name : str
36- description : str | None
37- thumbnail : HttpUrl | None
36+ description : str | None = None
37+ thumbnail : HttpUrl | None = None
3838 workbench : NodesDict
3939 access_rights : dict [GroupIDStr , AccessRights ]
4040 tags : list [int ] = Field (default_factory = list )
@@ -55,8 +55,8 @@ class ProjectCreateNew(InputSchema):
5555# NOTE: based on OVERRIDABLE_DOCUMENT_KEYS
5656class ProjectCopyOverride (InputSchema ):
5757 name : str
58- description : str | None
59- thumbnail : HttpUrl | None
58+ description : str | None = None
59+ thumbnail : HttpUrl | None = None
6060 prj_owner : LowerCaseEmailStr
6161
6262 _empty_is_none = field_validator ("thumbnail" , mode = "before" )(
Original file line number Diff line number Diff line change 1919class NodeCreate (InputSchemaWithoutCamelCase ):
2020 service_key : ServiceKey
2121 service_version : ServiceVersion
22- service_id : str | None
22+ service_id : str | None = None
2323
2424
2525BootOptions : TypeAlias = dict
You can’t perform that action at this time.
0 commit comments