From 1e96a302511ef412674fb367cf599fade557a043 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 6 Feb 2025 17:36:53 +0300 Subject: [PATCH] Update django to 5.1.6 (#2503) --- django-stubs/utils/ipv6.pyi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django-stubs/utils/ipv6.pyi b/django-stubs/utils/ipv6.pyi index 9027666ec..e88dcf277 100644 --- a/django-stubs/utils/ipv6.pyi +++ b/django-stubs/utils/ipv6.pyi @@ -1,3 +1,4 @@ +from ipaddress import IPv6Address from typing import Any MAX_IPV6_ADDRESS_LENGTH: int @@ -5,4 +6,4 @@ MAX_IPV6_ADDRESS_LENGTH: int def clean_ipv6_address( ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39 ) -> str: ... -def is_valid_ipv6_address(ip_str: str) -> bool: ... +def is_valid_ipv6_address(ip_str: str | IPv6Address) -> bool: ...