From f8ca5356698cd6d82a19020af9cdfae9562d0c65 Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 21 Oct 2024 09:29:55 +0200 Subject: [PATCH] fix: server public net ipv4 and ipv6 properties are nullable --- hcloud/servers/domain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hcloud/servers/domain.py b/hcloud/servers/domain.py index 4f9d80db..368464c4 100644 --- a/hcloud/servers/domain.py +++ b/hcloud/servers/domain.py @@ -293,8 +293,8 @@ class PublicNetwork(BaseDomain): def __init__( self, - ipv4: IPv4Address, - ipv6: IPv6Network, + ipv4: IPv4Address | None, + ipv6: IPv6Network | None, floating_ips: list[BoundFloatingIP], primary_ipv4: BoundPrimaryIP | None, primary_ipv6: BoundPrimaryIP | None,