mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-15 20:28:03 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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
|
||||
Reference in New Issue
Block a user