We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ad718 commit 1e96a30Copy full SHA for 1e96a30
django-stubs/utils/ipv6.pyi
@@ -1,8 +1,9 @@
1
+from ipaddress import IPv6Address
2
from typing import Any
3
4
MAX_IPV6_ADDRESS_LENGTH: int
5
6
def clean_ipv6_address(
7
ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39
8
) -> str: ...
-def is_valid_ipv6_address(ip_str: str) -> bool: ...
9
+def is_valid_ipv6_address(ip_str: str | IPv6Address) -> bool: ...
0 commit comments