Skip to content

Commit 82cf3f6

Browse files
authored
Merge branch 'main' into v1.6267.0
2 parents dc2ed8b + 4d2974d commit 82cf3f6

File tree

6 files changed

+12
-30
lines changed

6 files changed

+12
-30
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,9 +2172,9 @@ def unmarshal_ServerType(data: Any) -> ServerType:
21722172
if field is not None:
21732173
args["arch"] = field
21742174

2175-
field = data.get("baremetal", None)
2175+
field = data.get("end_of_service", None)
21762176
if field is not None:
2177-
args["baremetal"] = field
2177+
args["end_of_service"] = field
21782178

21792179
field = data.get("per_volume_constraint", None)
21802180
if field is not None:
@@ -2196,10 +2196,6 @@ def unmarshal_ServerType(data: Any) -> ServerType:
21962196
else:
21972197
args["gpu"] = None
21982198

2199-
field = data.get("end_of_service", None)
2200-
if field is not None:
2201-
args["end_of_service"] = field
2202-
22032199
field = data.get("gpu_info", None)
22042200
if field is not None:
22052201
args["gpu_info"] = unmarshal_ServerTypeGPUInfo(field)

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,9 @@ class ServerType:
13551355
CPU architecture.
13561356
"""
13571357

1358-
baremetal: bool
1358+
end_of_service: bool
13591359
"""
1360-
True if it is a baremetal Instance.
1360+
True if this Instance type has reached end of service.
13611361
"""
13621362

13631363
per_volume_constraint: Optional[ServerTypeVolumeConstraintsByType]
@@ -1375,11 +1375,6 @@ class ServerType:
13751375
Number of GPU.
13761376
"""
13771377

1378-
end_of_service: bool
1379-
"""
1380-
True if this Instance type has reached end of service.
1381-
"""
1382-
13831378
gpu_info: Optional[ServerTypeGPUInfo]
13841379
"""
13851380
GPU information.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class SubscriberWebhookConfig:
297297
class HealthCheckHttpConfig:
298298
uri: str
299299
"""
300-
The HTTP URI to use when performing a health check on backend servers.
300+
The HTTP path to use when performing a health check on backend servers.
301301
"""
302302

303303
method: str
@@ -320,7 +320,7 @@ class HealthCheckHttpConfig:
320320
class HealthCheckHttpsConfig:
321321
uri: str
322322
"""
323-
The HTTP URI to use when performing a health check on backend servers.
323+
The HTTP path to use when performing a health check on backend servers.
324324
"""
325325

326326
method: str

scaleway/scaleway/instance/v1/marshalling.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,9 +2172,9 @@ def unmarshal_ServerType(data: Any) -> ServerType:
21722172
if field is not None:
21732173
args["arch"] = field
21742174

2175-
field = data.get("baremetal", None)
2175+
field = data.get("end_of_service", None)
21762176
if field is not None:
2177-
args["baremetal"] = field
2177+
args["end_of_service"] = field
21782178

21792179
field = data.get("per_volume_constraint", None)
21802180
if field is not None:
@@ -2196,10 +2196,6 @@ def unmarshal_ServerType(data: Any) -> ServerType:
21962196
else:
21972197
args["gpu"] = None
21982198

2199-
field = data.get("end_of_service", None)
2200-
if field is not None:
2201-
args["end_of_service"] = field
2202-
22032199
field = data.get("gpu_info", None)
22042200
if field is not None:
22052201
args["gpu_info"] = unmarshal_ServerTypeGPUInfo(field)

scaleway/scaleway/instance/v1/types.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,9 @@ class ServerType:
13551355
CPU architecture.
13561356
"""
13571357

1358-
baremetal: bool
1358+
end_of_service: bool
13591359
"""
1360-
True if it is a baremetal Instance.
1360+
True if this Instance type has reached end of service.
13611361
"""
13621362

13631363
per_volume_constraint: Optional[ServerTypeVolumeConstraintsByType]
@@ -1375,11 +1375,6 @@ class ServerType:
13751375
Number of GPU.
13761376
"""
13771377

1378-
end_of_service: bool
1379-
"""
1380-
True if this Instance type has reached end of service.
1381-
"""
1382-
13831378
gpu_info: Optional[ServerTypeGPUInfo]
13841379
"""
13851380
GPU information.

scaleway/scaleway/lb/v1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class SubscriberWebhookConfig:
297297
class HealthCheckHttpConfig:
298298
uri: str
299299
"""
300-
The HTTP URI to use when performing a health check on backend servers.
300+
The HTTP path to use when performing a health check on backend servers.
301301
"""
302302

303303
method: str
@@ -320,7 +320,7 @@ class HealthCheckHttpConfig:
320320
class HealthCheckHttpsConfig:
321321
uri: str
322322
"""
323-
The HTTP URI to use when performing a health check on backend servers.
323+
The HTTP path to use when performing a health check on backend servers.
324324
"""
325325

326326
method: str

0 commit comments

Comments
 (0)