mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-21 19:32:16 +08:00
fifth iteration
This commit is contained in:
@@ -61,18 +61,6 @@ class Parser:
|
||||
self
|
||||
) -> Iterator[
|
||||
Tuple[
|
||||
str,
|
||||
Dict[
|
||||
str,
|
||||
Tuple[
|
||||
str,
|
||||
Union[
|
||||
Dict[str, Union[bytes, str]],
|
||||
Dict[str, bytes],
|
||||
Dict[str, str],
|
||||
],
|
||||
],
|
||||
],
|
||||
LazyStream,
|
||||
str, Dict[str, Tuple[str, Dict[str, Union[bytes, str]]]], LazyStream
|
||||
]
|
||||
]: ...
|
||||
|
||||
@@ -16,8 +16,8 @@ class HttpRequest:
|
||||
get_host: Callable
|
||||
sensitive_post_parameters: str
|
||||
session: django.contrib.sessions.backends.db.SessionStore
|
||||
GET: Dict[str, str] = ...
|
||||
POST: Dict[str, str] = ...
|
||||
GET: Union[Dict[str, str], django.http.request.QueryDict] = ...
|
||||
POST: Union[Dict[str, str], django.http.request.QueryDict] = ...
|
||||
COOKIES: Dict[str, str] = ...
|
||||
META: Dict[str, Union[int, str]] = ...
|
||||
FILES: django.utils.datastructures.MultiValueDict = ...
|
||||
|
||||
@@ -289,7 +289,6 @@ class JsonResponse(HttpResponse):
|
||||
self,
|
||||
data: Union[
|
||||
Dict[str, Dict[str, str]],
|
||||
Dict[str, Union[Dict[str, bool], List[Dict[str, str]]]],
|
||||
Dict[str, int],
|
||||
Dict[str, str],
|
||||
List[int],
|
||||
|
||||
Reference in New Issue
Block a user