From 4074ca59f4bee6e585b27f7ce669b46fa51d8f65 Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Thu, 26 Dec 2024 11:08:18 +0100 Subject: [PATCH] feat(k8s): remove unused field in NodeMetadata (#804) --- scaleway-async/scaleway_async/k8s/v1/marshalling.py | 12 ------------ scaleway-async/scaleway_async/k8s/v1/types.py | 6 ------ scaleway/scaleway/k8s/v1/marshalling.py | 12 ------------ scaleway/scaleway/k8s/v1/types.py | 6 ------ 4 files changed, 36 deletions(-) diff --git a/scaleway-async/scaleway_async/k8s/v1/marshalling.py b/scaleway-async/scaleway_async/k8s/v1/marshalling.py index e14047db..bc05625b 100644 --- a/scaleway-async/scaleway_async/k8s/v1/marshalling.py +++ b/scaleway-async/scaleway_async/k8s/v1/marshalling.py @@ -1023,18 +1023,6 @@ def unmarshal_NodeMetadata(data: Any) -> NodeMetadata: else None ) - field = data.get("private_network_mode", None) - if field is not None: - args["private_network_mode"] = field - - field = data.get("kapsule_iface_mac", None) - if field is not None: - args["kapsule_iface_mac"] = field - - field = data.get("full_isolation", None) - if field is not None: - args["full_isolation"] = field - field = data.get("has_gpu", None) if field is not None: args["has_gpu"] = field diff --git a/scaleway-async/scaleway_async/k8s/v1/types.py b/scaleway-async/scaleway_async/k8s/v1/types.py index cd0c4deb..0c2953ab 100644 --- a/scaleway-async/scaleway_async/k8s/v1/types.py +++ b/scaleway-async/scaleway_async/k8s/v1/types.py @@ -1833,12 +1833,6 @@ class NodeMetadata: node_taints: List[NodeMetadataCoreV1Taint] - private_network_mode: str - - kapsule_iface_mac: str - - full_isolation: bool - has_gpu: bool external_ip: str diff --git a/scaleway/scaleway/k8s/v1/marshalling.py b/scaleway/scaleway/k8s/v1/marshalling.py index e14047db..bc05625b 100644 --- a/scaleway/scaleway/k8s/v1/marshalling.py +++ b/scaleway/scaleway/k8s/v1/marshalling.py @@ -1023,18 +1023,6 @@ def unmarshal_NodeMetadata(data: Any) -> NodeMetadata: else None ) - field = data.get("private_network_mode", None) - if field is not None: - args["private_network_mode"] = field - - field = data.get("kapsule_iface_mac", None) - if field is not None: - args["kapsule_iface_mac"] = field - - field = data.get("full_isolation", None) - if field is not None: - args["full_isolation"] = field - field = data.get("has_gpu", None) if field is not None: args["has_gpu"] = field diff --git a/scaleway/scaleway/k8s/v1/types.py b/scaleway/scaleway/k8s/v1/types.py index cd0c4deb..0c2953ab 100644 --- a/scaleway/scaleway/k8s/v1/types.py +++ b/scaleway/scaleway/k8s/v1/types.py @@ -1833,12 +1833,6 @@ class NodeMetadata: node_taints: List[NodeMetadataCoreV1Taint] - private_network_mode: str - - kapsule_iface_mac: str - - full_isolation: bool - has_gpu: bool external_ip: str