Skip to content

Commit b2b4029

Browse files
committed
apply suggestions
1 parent 6ed94d8 commit b2b4029

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

hcloud/datacenters/domain.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ class Datacenter(BaseDomain, DomainIdentityMixin):
2525
:param server_types: :class:`DatacenterServerTypes <hcloud.datacenters.domain.DatacenterServerTypes>`
2626
"""
2727

28-
__api_properties__ = ("id", "name", "description", "location", "server_types")
29-
__slots__ = ("id", "name", "description", "location", "_server_types")
28+
__properties__ = ("id", "name", "description", "location")
29+
__api_properties__ = (*__properties__, "server_types")
30+
__slots__ = (*__properties__, "_server_types")
3031

3132
def __init__(
3233
self,

hcloud/server_types/domain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ class ServerTypeLocation(BaseDomain):
185185
186186
:param location: Location of the Server Type.
187187
:param deprecation: Wether the Server Type is deprecated in this Location.
188-
:param available: True if the Server Type is currently available in this Location.
189-
:param recommended: True if the Server Type is currently recommended in this Location.
188+
:param available: Whether the Server Type is currently available in this Location.
189+
:param recommended: Whether the Server Type is currently recommended in this Location.
190190
"""
191191

192192
__api_properties__ = (

0 commit comments

Comments
 (0)