File tree Expand file tree Collapse file tree 4 files changed +8
-26
lines changed
scaleway/scaleway/instance/v1
scaleway-async/scaleway_async/instance/v1 Expand file tree Collapse file tree 4 files changed +8
-26
lines changed Original file line number Diff line number Diff line change @@ -2172,9 +2172,9 @@ def unmarshal_ServerType(data: Any) -> ServerType:
2172
2172
if field is not None :
2173
2173
args ["arch" ] = field
2174
2174
2175
- field = data .get ("baremetal " , None )
2175
+ field = data .get ("end_of_service " , None )
2176
2176
if field is not None :
2177
- args ["baremetal " ] = field
2177
+ args ["end_of_service " ] = field
2178
2178
2179
2179
field = data .get ("per_volume_constraint" , None )
2180
2180
if field is not None :
@@ -2196,10 +2196,6 @@ def unmarshal_ServerType(data: Any) -> ServerType:
2196
2196
else :
2197
2197
args ["gpu" ] = None
2198
2198
2199
- field = data .get ("end_of_service" , None )
2200
- if field is not None :
2201
- args ["end_of_service" ] = field
2202
-
2203
2199
field = data .get ("gpu_info" , None )
2204
2200
if field is not None :
2205
2201
args ["gpu_info" ] = unmarshal_ServerTypeGPUInfo (field )
Original file line number Diff line number Diff line change @@ -1355,9 +1355,9 @@ class ServerType:
1355
1355
CPU architecture.
1356
1356
"""
1357
1357
1358
- baremetal : bool
1358
+ end_of_service : bool
1359
1359
"""
1360
- True if it is a baremetal Instance .
1360
+ True if this Instance type has reached end of service .
1361
1361
"""
1362
1362
1363
1363
per_volume_constraint : Optional [ServerTypeVolumeConstraintsByType ]
@@ -1375,11 +1375,6 @@ class ServerType:
1375
1375
Number of GPU.
1376
1376
"""
1377
1377
1378
- end_of_service : bool
1379
- """
1380
- True if this Instance type has reached end of service.
1381
- """
1382
-
1383
1378
gpu_info : Optional [ServerTypeGPUInfo ]
1384
1379
"""
1385
1380
GPU information.
Original file line number Diff line number Diff line change @@ -2172,9 +2172,9 @@ def unmarshal_ServerType(data: Any) -> ServerType:
2172
2172
if field is not None :
2173
2173
args ["arch" ] = field
2174
2174
2175
- field = data .get ("baremetal " , None )
2175
+ field = data .get ("end_of_service " , None )
2176
2176
if field is not None :
2177
- args ["baremetal " ] = field
2177
+ args ["end_of_service " ] = field
2178
2178
2179
2179
field = data .get ("per_volume_constraint" , None )
2180
2180
if field is not None :
@@ -2196,10 +2196,6 @@ def unmarshal_ServerType(data: Any) -> ServerType:
2196
2196
else :
2197
2197
args ["gpu" ] = None
2198
2198
2199
- field = data .get ("end_of_service" , None )
2200
- if field is not None :
2201
- args ["end_of_service" ] = field
2202
-
2203
2199
field = data .get ("gpu_info" , None )
2204
2200
if field is not None :
2205
2201
args ["gpu_info" ] = unmarshal_ServerTypeGPUInfo (field )
Original file line number Diff line number Diff line change @@ -1355,9 +1355,9 @@ class ServerType:
1355
1355
CPU architecture.
1356
1356
"""
1357
1357
1358
- baremetal : bool
1358
+ end_of_service : bool
1359
1359
"""
1360
- True if it is a baremetal Instance .
1360
+ True if this Instance type has reached end of service .
1361
1361
"""
1362
1362
1363
1363
per_volume_constraint : Optional [ServerTypeVolumeConstraintsByType ]
@@ -1375,11 +1375,6 @@ class ServerType:
1375
1375
Number of GPU.
1376
1376
"""
1377
1377
1378
- end_of_service : bool
1379
- """
1380
- True if this Instance type has reached end of service.
1381
- """
1382
-
1383
1378
gpu_info : Optional [ServerTypeGPUInfo ]
1384
1379
"""
1385
1380
GPU information.
You can’t perform that action at this time.
0 commit comments