From fb99cd971079b4daf62ae20d9f3e34b06470aabf Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Mon, 29 Apr 2024 12:17:56 +0200 Subject: [PATCH] rename IPV4AddressType to IPv4AddressType --- gso/services/infoblox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gso/services/infoblox.py b/gso/services/infoblox.py index 874ee6f5..c414aae5 100644 --- a/gso/services/infoblox.py +++ b/gso/services/infoblox.py @@ -273,7 +273,7 @@ def find_host_by_ip(ip_addr: IPv4AddressType | ipaddress.IPv6Address) -> objects """Find a host record in Infoblox by its associated IP address. :param ip_addr: The IP address of a host that is searched for. - :type ip_addr: IPV4AddressType | ipaddress.IPv6Address + :type ip_addr: IPv4AddressType | ipaddress.IPv6Address """ conn, _ = _setup_connection() if ip_addr.version == 4: # noqa: PLR2004, the 4 in IPv4 is well-known and not a "magic value." @@ -322,7 +322,7 @@ def delete_host_by_ip(ip_addr: IPv4AddressType | ipaddress.IPv6Address) -> None: :class:`DeletionError` if no record can be found in Infoblox. :param ip_addr: The IP address of the host record that should get deleted. - :type ip_addr: IPV4AddressType | ipaddress.IPv6Address + :type ip_addr: IPv4AddressType | ipaddress.IPv6Address """ host = find_host_by_ip(ip_addr) if host: -- GitLab