diff --git a/third_party/2/werkzeug/wrappers.pyi b/third_party/2/werkzeug/wrappers.pyi index 98b258241b28..d9bf4e3b2b0d 100644 --- a/third_party/2/werkzeug/wrappers.pyi +++ b/third_party/2/werkzeug/wrappers.pyi @@ -1,5 +1,5 @@ from typing import ( - Any, Iterable, Mapping, Optional, Sequence, Tuple, Type, Union, + Any, Iterable, Mapping, Optional, Sequence, Tuple, Type, Union, Dict, ) from .datastructures import ( @@ -18,9 +18,9 @@ class BaseRequest: form_data_parser_class = ... # type: Type trusted_hosts = ... # type: Optional[Sequence[unicode]] disable_data_descriptor = ... # type: Any - environ = ... # type: Mapping[str, object] + environ = ... # type: Dict[Union[str, unicode], Any] shallow = ... # type: Any - def __init__(self, environ: Mapping[basestring, object], populate_request: bool = ..., shallow: bool = ...) -> None: ... + def __init__(self, environ: Dict[Union[str, unicode], Any], populate_request: bool = ..., shallow: bool = ...) -> None: ... @property def url_charset(self) -> str: ... @classmethod diff --git a/third_party/3/werkzeug/wrappers.pyi b/third_party/3/werkzeug/wrappers.pyi index 676d1be4c1e9..08bf9d42ebe2 100644 --- a/third_party/3/werkzeug/wrappers.pyi +++ b/third_party/3/werkzeug/wrappers.pyi @@ -1,5 +1,5 @@ from typing import ( - Any, Iterable, Mapping, Optional, Sequence, Tuple, Type, Union, + Any, Iterable, Mapping, Optional, Sequence, Tuple, Type, Union, Dict, ) from .datastructures import ( @@ -18,9 +18,9 @@ class BaseRequest: form_data_parser_class = ... # type: Type trusted_hosts = ... # type: Optional[Sequence[str]] disable_data_descriptor = ... # type: Any - environ = ... # type: Mapping[str, object] + environ = ... # type: Dict[str, Any] shallow = ... # type: Any - def __init__(self, environ: Mapping[str, object], populate_request: bool = ..., shallow: bool = ...) -> None: ... + def __init__(self, environ: Dict[str, Any], populate_request: bool = ..., shallow: bool = ...) -> None: ... @property def url_charset(self) -> str: ... @classmethod