From 85fcecbcb032a5a8058b9daf10e8fde6b6f3bff9 Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 24 Jul 2023 09:41:29 +0200 Subject: [PATCH] fix: invalid attribute in placement group The actions client attribute name is `actions` --- hcloud/placement_groups/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcloud/placement_groups/client.py b/hcloud/placement_groups/client.py index b3bc56cb..f5017501 100644 --- a/hcloud/placement_groups/client.py +++ b/hcloud/placement_groups/client.py @@ -158,7 +158,7 @@ def create( action = None if response.get("action") is not None: - action = BoundAction(self._client.action, response["action"]) + action = BoundAction(self._client.actions, response["action"]) result = CreatePlacementGroupResponse( placement_group=BoundPlacementGroup(self, response["placement_group"]),