Skip to content
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
6 changes: 6 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,12 @@ def unmarshal_NodeMetadata(data: Any) -> NodeMetadata:
else:
args["resolvconf_path"] = None

field = data.get("template_args", None)
if field is not None:
args["template_args"] = field
else:
args["template_args"] = None

field = data.get("has_gpu", None)
if field is not None:
args["has_gpu"] = field
Expand Down
1 change: 1 addition & 0 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1879,6 +1879,7 @@ class NodeMetadata:
node_taints: list[NodeMetadataCoreV1Taint]
provider_id: str
resolvconf_path: str
template_args: dict[str, str]
has_gpu: bool
external_ip: str
repo_uri: str
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,12 @@ def unmarshal_NodeMetadata(data: Any) -> NodeMetadata:
else:
args["resolvconf_path"] = None

field = data.get("template_args", None)
if field is not None:
args["template_args"] = field
else:
args["template_args"] = None

field = data.get("has_gpu", None)
if field is not None:
args["has_gpu"] = field
Expand Down
1 change: 1 addition & 0 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1879,6 +1879,7 @@ class NodeMetadata:
node_taints: list[NodeMetadataCoreV1Taint]
provider_id: str
resolvconf_path: str
template_args: dict[str, str]
has_gpu: bool
external_ip: str
repo_uri: str
Expand Down