Skip to content

Commit

Permalink
doc(instance): deprecate policy_respected in Server (#838)
Browse files Browse the repository at this point in the history
scaleway-bot authored Jan 30, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 917114d commit 814db6f
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scaleway-async/scaleway_async/instance/v1/types.py
Original file line number Diff line number Diff line change
@@ -516,7 +516,8 @@ class PlacementGroup:

policy_respected: bool
"""
Returns true if the policy is respected, false otherwise.
In the server endpoints the value is always false as it is deprecated.
In the placement group endpoints the value is correct.
"""

zone: ScwZone
3 changes: 2 additions & 1 deletion scaleway/scaleway/instance/v1/types.py
Original file line number Diff line number Diff line change
@@ -516,7 +516,8 @@ class PlacementGroup:

policy_respected: bool
"""
Returns true if the policy is respected, false otherwise.
In the server endpoints the value is always false as it is deprecated.
In the placement group endpoints the value is correct.
"""

zone: ScwZone

0 comments on commit 814db6f

Please sign in to comment.