diff --git a/third_party/2/werkzeug/wrappers.pyi b/third_party/2/werkzeug/wrappers.pyi index 98b258241b28..e43aa703fef1 100644 --- a/third_party/2/werkzeug/wrappers.pyi +++ b/third_party/2/werkzeug/wrappers.pyi @@ -36,7 +36,8 @@ class BaseRequest: def stream(self): ... input_stream = ... # type: Any args = ... # type: ImmutableMultiDict - def data(self): ... + @property + def data(self) -> str: ... def get_data(self, cache: bool = ..., as_text: bool = ..., parse_form_data: bool = ...) -> str: ... form = ... # type: ImmutableMultiDict values = ... # type: CombinedMultiDict diff --git a/third_party/3/werkzeug/wrappers.pyi b/third_party/3/werkzeug/wrappers.pyi index 676d1be4c1e9..4d31a9100c1b 100644 --- a/third_party/3/werkzeug/wrappers.pyi +++ b/third_party/3/werkzeug/wrappers.pyi @@ -36,7 +36,8 @@ class BaseRequest: def stream(self): ... input_stream = ... # type: Any args = ... # type: ImmutableMultiDict - def data(self): ... + @property + def data(self) -> bytes: ... def get_data(self, cache: bool = ..., as_text: bool = ..., parse_form_data: bool = ...) -> bytes: ... form = ... # type: ImmutableMultiDict values = ... # type: CombinedMultiDict