make pep561 compliant

This commit is contained in:
Maxim Kurnikov
2018-07-29 20:19:43 +03:00
parent 89bb6eac75
commit f471b7b1bf
372 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
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 request(request: HttpRequest) -> Dict[str, HttpRequest]: ...