Skip to content

Commit 475db77

Browse files
author
Elias Nygren
committed
make IPaddress.address an optional init parameter
1 parent 4af6685 commit 475db77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upcloud_api/ip_address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class IP_address(object):
1515
ptr_record and server are present only if /server/uuid endpoint was used.
1616
"""
1717

18-
def __init__(self, access, address, cloud_manager, family='IPv4',
18+
def __init__(self, access, cloud_manager, address=None, family='IPv4',
1919
ptr_record=None, server=None, *args, **kwargs):
2020
"""
2121
Initialize IP address with at least access and address.

0 commit comments

Comments
 (0)