From ded3b252c6012574739ddc30f480147e1f3468f0 Mon Sep 17 00:00:00 2001 From: Giancarlo Romeo Date: Tue, 5 Nov 2024 09:41:55 +0100 Subject: [PATCH] Update packages/models-library/src/models_library/api_schemas_directorv2/clusters.py Co-authored-by: Sylvain <35365065+sanderegg@users.noreply.github.com> --- .../src/models_library/api_schemas_directorv2/clusters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/models-library/src/models_library/api_schemas_directorv2/clusters.py b/packages/models-library/src/models_library/api_schemas_directorv2/clusters.py index 1e7bf14ca44..9c4698a5dc3 100644 --- a/packages/models-library/src/models_library/api_schemas_directorv2/clusters.py +++ b/packages/models-library/src/models_library/api_schemas_directorv2/clusters.py @@ -176,7 +176,7 @@ class ClusterPatch(BaseCluster): endpoint: AnyUrl | None = None # type: ignore[assignment] authentication: ExternalClusterAuthentication | None = None # type: ignore[assignment] access_rights: dict[GroupID, ClusterAccessRights] | None = Field( # type: ignore[assignment] - None, alias="accessRights" + default=None, alias="accessRights" ) model_config = ConfigDict(