diff --git a/hcloud/load_balancer_types/domain.py b/hcloud/load_balancer_types/domain.py index 6ef4c28..9142cb5 100644 --- a/hcloud/load_balancer_types/domain.py +++ b/hcloud/load_balancer_types/domain.py @@ -20,7 +20,7 @@ class LoadBalancerType(BaseDomain, DomainIdentityMixin): Max amount of targets the Load Balancer can handle :param max_assigned_certificates: int Max amount of certificates the Load Balancer can serve - :param prices: Dict + :param prices: List of dict Prices in different locations """ @@ -46,7 +46,7 @@ def __init__( max_services: int | None = None, max_targets: int | None = None, max_assigned_certificates: int | None = None, - prices: dict | None = None, + prices: list[dict] | None = None, ): self.id = id self.name = name diff --git a/hcloud/server_types/domain.py b/hcloud/server_types/domain.py index d026f86..c2031c6 100644 --- a/hcloud/server_types/domain.py +++ b/hcloud/server_types/domain.py @@ -21,7 +21,7 @@ class ServerType(BaseDomain, DomainIdentityMixin): Memory a server of this type will have in GB :param disk: int Disk size a server of this type will have in GB - :param prices: Dict + :param prices: List of dict Prices in different locations :param storage_type: str Type of server boot drive. Local has higher speed. Network has better availability. Choices: `local`, `network` @@ -69,7 +69,7 @@ def __init__( cores: int | None = None, memory: int | None = None, disk: int | None = None, - prices: dict | None = None, + prices: list[dict] | None = None, storage_type: str | None = None, cpu_type: str | None = None, architecture: str | None = None,