Skip to content

Commit 71a2995

Browse files
authored
feat(rdb): add node_type instance range (#253)
1 parent 3a32246 commit 71a2995

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

scaleway-async/scaleway_async/rdb/v1/marshalling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,9 @@ def unmarshal_NodeType(data: Any) -> NodeType:
754754
field = data.get("generation", None)
755755
args["generation"] = field
756756

757+
field = data.get("instance_range", None)
758+
args["instance_range"] = field
759+
757760
field = data.get("is_bssd_compatible", None)
758761
args["is_bssd_compatible"] = field
759762

scaleway-async/scaleway_async/rdb/v1/types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,12 @@ class NodeType:
12041204

12051205
generation: NodeTypeGeneration
12061206
"""
1207-
Generation associated the NodeType offer.
1207+
Generation associated with the NodeType offer.
1208+
"""
1209+
1210+
instance_range: str
1211+
"""
1212+
Instance range associated with the NodeType offer.
12081213
"""
12091214

12101215
region: Region

scaleway/scaleway/rdb/v1/marshalling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,9 @@ def unmarshal_NodeType(data: Any) -> NodeType:
754754
field = data.get("generation", None)
755755
args["generation"] = field
756756

757+
field = data.get("instance_range", None)
758+
args["instance_range"] = field
759+
757760
field = data.get("is_bssd_compatible", None)
758761
args["is_bssd_compatible"] = field
759762

scaleway/scaleway/rdb/v1/types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,12 @@ class NodeType:
12041204

12051205
generation: NodeTypeGeneration
12061206
"""
1207-
Generation associated the NodeType offer.
1207+
Generation associated with the NodeType offer.
1208+
"""
1209+
1210+
instance_range: str
1211+
"""
1212+
Instance range associated with the NodeType offer.
12081213
"""
12091214

12101215
region: Region

0 commit comments

Comments
 (0)