Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fixed webserver API endpoints #6751

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
class ProjectCreateNew(InputSchema):
uuid: ProjectID | None = None # NOTE: suggested uuid! but could be different!
name: str
description: str | None
thumbnail: HttpUrl | None
description: str | None = None
GitHK marked this conversation as resolved.
Show resolved Hide resolved
thumbnail: HttpUrl | None = None
workbench: NodesDict
access_rights: dict[GroupIDStr, AccessRights]
tags: list[int] = Field(default_factory=list)
Expand All @@ -55,8 +55,8 @@ class ProjectCreateNew(InputSchema):
# NOTE: based on OVERRIDABLE_DOCUMENT_KEYS
class ProjectCopyOverride(InputSchema):
name: str
description: str | None
thumbnail: HttpUrl | None
description: str | None = None
thumbnail: HttpUrl | None = None
prj_owner: LowerCaseEmailStr

_empty_is_none = field_validator("thumbnail", mode="before")(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class NodeCreate(InputSchemaWithoutCamelCase):
service_key: ServiceKey
service_version: ServiceVersion
service_id: str | None
service_id: str | None = None


BootOptions: TypeAlias = dict
Expand Down
Loading