diff --git a/hcloud/certificates/client.py b/hcloud/certificates/client.py index 1067dfa..ff24567 100644 --- a/hcloud/certificates/client.py +++ b/hcloud/certificates/client.py @@ -81,7 +81,7 @@ def update( New name to set :param labels: Dict[str, str] (optional) User-defined labels (key-value pairs) - :return: :class:`BoundCertificate + :return: :class:`BoundCertificate ` """ return self._client.update(self, name, labels) diff --git a/hcloud/floating_ips/client.py b/hcloud/floating_ips/client.py index 58d7fa3..b85cd9d 100644 --- a/hcloud/floating_ips/client.py +++ b/hcloud/floating_ips/client.py @@ -46,13 +46,13 @@ def get_actions_list( :param status: List[str] (optional) Response will have only actions with specified statuses. Choices: `running` `success` `error` - :param sort: List[str] (optional) + :param sort: List[str] (optional) Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` - :param page: int (optional) + :param page: int (optional) Specifies the page to fetch - :param per_page: int (optional) + :param per_page: int (optional) Specifies how many results are returned by page - :return: (List[:class:`BoundAction `], :class:`Meta `) + :return: (List[:class:`BoundAction `], :class:`Meta `) """ return self._client.get_actions_list(self, status, sort, page, per_page) @@ -67,7 +67,6 @@ def get_actions( Response will have only actions with specified statuses. Choices: `running` `success` `error` :param sort: List[str] (optional) Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` - :return: List[:class:`BoundAction `] """ return self._client.get_actions(self, status, sort) diff --git a/hcloud/images/client.py b/hcloud/images/client.py index a7dbef7..132efda 100644 --- a/hcloud/images/client.py +++ b/hcloud/images/client.py @@ -180,7 +180,7 @@ def get_by_id(self, id: int) -> BoundImage: """Get a specific Image :param id: int - :return: :class:`BoundImage BoundNetwork: """Get a specific network :param id: int - :return: :class:`BoundNetwork + :return: :class:`BoundNetwork ` """ response = self._client.request(url=f"/networks/{id}", method="GET") return BoundNetwork(self, response["network"]) diff --git a/hcloud/ssh_keys/client.py b/hcloud/ssh_keys/client.py index 8a86da8..1c16f03 100644 --- a/hcloud/ssh_keys/client.py +++ b/hcloud/ssh_keys/client.py @@ -25,7 +25,7 @@ def update( New Description to set :param labels: Dict[str, str] (optional) User-defined labels (key-value pairs) - :return: :class:`BoundSSHKey + :return: :class:`BoundSSHKey ` """ return self._client.update(self, name, labels) diff --git a/hcloud/volumes/client.py b/hcloud/volumes/client.py index 60b1d9b..3dd628a 100644 --- a/hcloud/volumes/client.py +++ b/hcloud/volumes/client.py @@ -62,7 +62,7 @@ def get_actions( :param status: List[str] (optional) Response will have only actions with specified statuses. Choices: `running` `success` `error` - :param sort:List[str] (optional) + :param sort: List[str] (optional) Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` :return: List[:class:`BoundAction `] """ @@ -325,7 +325,7 @@ def get_actions( :param volume: :class:`BoundVolume ` or :class:`Volume ` :param status: List[str] (optional) Response will have only actions with specified statuses. Choices: `running` `success` `error` - :param sort:List[str] (optional) + :param sort: List[str] (optional) Specify how the results are sorted. Choices: `id` `id:asc` `id:desc` `command` `command:asc` `command:desc` `status` `status:asc` `status:desc` `progress` `progress:asc` `progress:desc` `started` `started:asc` `started:desc` `finished` `finished:asc` `finished:desc` :return: List[:class:`BoundAction `] """