Skip to content

Commit 5fe0858

Browse files
null fields
1 parent 23afc1d commit 5fe0858

File tree

1 file changed

+8
-9
lines changed
  • packages/models-library/src/models_library/api_schemas_directorv2

1 file changed

+8
-9
lines changed

packages/models-library/src/models_library/api_schemas_directorv2/clusters.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,15 @@ def set_default_thumbnail_if_empty(cls, v, info: ValidationInfo):
168168

169169

170170
class ClusterPatch(BaseCluster):
171-
name: str | None = Field(default=None) # type: ignore[assignment]
172-
description: str | None = Field(default=None)
173-
type: ClusterTypeInModel | None = Field(default=None) # type: ignore[assignment]
174-
owner: GroupID | None = Field(default=None) # type: ignore[assignment]
175-
thumbnail: HttpUrl | None = Field(default=None)
176-
endpoint: AnyUrl | None = Field(default=None) # type: ignore[assignment]
177-
authentication: ExternalClusterAuthentication | None = Field(default=None) # type: ignore[assignment]
171+
name: str | None = None # type: ignore[assignment]
172+
description: str | None = None
173+
type: ClusterTypeInModel | None = None # type: ignore[assignment]
174+
owner: GroupID | None = None # type: ignore[assignment]
175+
thumbnail: HttpUrl | None = None
176+
endpoint: AnyUrl | None = None # type: ignore[assignment]
177+
authentication: ExternalClusterAuthentication | None = None # type: ignore[assignment]
178178
access_rights: dict[GroupID, ClusterAccessRights] | None = Field( # type: ignore[assignment]
179-
default=None,
180-
alias="accessRights"
179+
default=None, alias="accessRights"
181180
)
182181

183182
model_config = ConfigDict(

0 commit comments

Comments
 (0)