From 78d9c73cb3e89a5d19ca3ba1a332e7c09b85a531 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:52:53 +0100 Subject: [PATCH] removed unnecessary code --- .../api_schemas_webserver/clusters.py | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 packages/models-library/src/models_library/api_schemas_webserver/clusters.py diff --git a/packages/models-library/src/models_library/api_schemas_webserver/clusters.py b/packages/models-library/src/models_library/api_schemas_webserver/clusters.py deleted file mode 100644 index 17232a8b482..00000000000 --- a/packages/models-library/src/models_library/api_schemas_webserver/clusters.py +++ /dev/null @@ -1,33 +0,0 @@ -from pydantic import BaseModel, ConfigDict - -from ..api_schemas_directorv2 import clusters as directorv2_clusters -from ..clusters import ClusterID -from ._base import InputSchema, OutputSchema - - -class ClusterPathParams(BaseModel): - cluster_id: ClusterID - model_config = ConfigDict( - populate_by_name=True, - extra="forbid", - ) - - -class ClusterGet(directorv2_clusters.ClusterGet): - model_config = OutputSchema.model_config - - -class ClusterCreate(directorv2_clusters.ClusterCreate): - model_config = InputSchema.model_config - - -class ClusterPatch(directorv2_clusters.ClusterPatch): - model_config = InputSchema.model_config - - -class ClusterPing(directorv2_clusters.ClusterPing): - model_config = InputSchema.model_config - - -class ClusterDetails(directorv2_clusters.ClusterDetails): - model_config = OutputSchema.model_config