mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
werkzeug: Mark BaseRequest.data as property (#1785)
This commit is contained in:
committed by
Jelle Zijlstra
parent
7c4765357a
commit
398401baee
3
third_party/2/werkzeug/wrappers.pyi
vendored
3
third_party/2/werkzeug/wrappers.pyi
vendored
@@ -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
|
||||
|
||||
3
third_party/3/werkzeug/wrappers.pyi
vendored
3
third_party/3/werkzeug/wrappers.pyi
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user