better stubs

This commit is contained in:
Maxim Kurnikov
2018-08-05 03:13:19 +03:00
parent 4013fe4d03
commit fa718b8e55
380 changed files with 11805 additions and 8503 deletions

View File

@@ -1,18 +1,16 @@
# Stubs for django.template.context_processors (Python 3.6)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
from django.core.handlers.wsgi import WSGIRequest
from django.http.request import HttpRequest
from django.utils.functional import SimpleLazyObject
from typing import Callable, Dict, List, Tuple, Union
def csrf(request: HttpRequest) -> Dict[str, SimpleLazyObject]: ...
def debug(request: HttpRequest) -> Dict[str, Union[bool, Callable]]: ...
def i18n(request: WSGIRequest) -> Dict[str, Union[List[Tuple[str, str]], str, bool]]: ...
def tz(request: Any): ...
def static(request: Any): ...
def i18n(
request: WSGIRequest
) -> Dict[str, Union[List[Tuple[str, str]], str, bool]]: ...
def tz(request: HttpRequest) -> Dict[str, str]: ...
def static(request: HttpRequest) -> Dict[str, str]: ...
def media(request: Any): ...
def request(request: HttpRequest) -> Dict[str, HttpRequest]: ...