mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 05:51:53 +08:00
24 lines
572 B
Python
24 lines
572 B
Python
from typing import Any, Callable, List, Optional, Tuple, Union
|
|
|
|
from django.urls.resolvers import URLPattern, URLResolver
|
|
|
|
from .resolvers import (LocalePrefixPattern, RegexPattern, RoutePattern,
|
|
URLPattern, URLResolver)
|
|
|
|
|
|
def include(
|
|
arg: Union[
|
|
List[Tuple[str, Callable]],
|
|
List[URLPattern],
|
|
List[URLResolver],
|
|
Tuple[List[URLResolver], str],
|
|
str,
|
|
],
|
|
namespace: Optional[str] = ...,
|
|
) -> Union[
|
|
Tuple[List[Any], str, str], Tuple[List[URLResolver], None, None]
|
|
]: ...
|
|
|
|
path: Any
|
|
re_path: Any
|