Skip to content

Commit 814db6f

Browse files
authored
doc(instance): deprecate policy_respected in Server (#838)
1 parent 917114d commit 814db6f

File tree

2 files changed

+4
-2
lines changed
  • scaleway/scaleway/instance/v1
  • scaleway-async/scaleway_async/instance/v1

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ class PlacementGroup:
516516

517517
policy_respected: bool
518518
"""
519-
Returns true if the policy is respected, false otherwise.
519+
In the server endpoints the value is always false as it is deprecated.
520+
In the placement group endpoints the value is correct.
520521
"""
521522

522523
zone: ScwZone

scaleway/scaleway/instance/v1/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ class PlacementGroup:
516516

517517
policy_respected: bool
518518
"""
519-
Returns true if the policy is respected, false otherwise.
519+
In the server endpoints the value is always false as it is deprecated.
520+
In the placement group endpoints the value is correct.
520521
"""
521522

522523
zone: ScwZone

0 commit comments

Comments
 (0)