Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 15, 2025
1 parent 2de9932 commit 8a183c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion django-stubs/utils/ipv6.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from typing import Any

def clean_ipv6_address(ip_str: Any, unpack_ipv4: bool = False, error_message: str = ...) -> str: ...
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: ...
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pytest-shard==0.1.2
# Django deps:
psycopg2-binary
Django==4.2.16; python_version < '3.10'
Django==5.1.4; python_version >= '3.10'
Django==5.1.5; python_version >= '3.10'
-e ./ext
-e .[redis,compatible-mypy,oracle]

Expand Down

0 comments on commit 8a183c9

Please sign in to comment.