Skip to content

Commit 1f6da4e

Browse files
authored
fix: change floating ip labels type to dict[str, str] (#444)
The type for the floating ip label was wrong. Its now changed to the type in the comments and works as expected.
1 parent 20c32d5 commit 1f6da4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hcloud/floating_ips/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def create(
293293
self,
294294
type: str,
295295
description: str | None = None,
296-
labels: str | None = None,
296+
labels: dict[str, str] | None = None,
297297
home_location: Location | BoundLocation | None = None,
298298
server: Server | BoundServer | None = None,
299299
name: str | None = None,

0 commit comments

Comments
 (0)