mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
committed by
Jelle Zijlstra
parent
45a11b974e
commit
3814d47aff
4
third_party/2and3/requests/sessions.pyi
vendored
4
third_party/2and3/requests/sessions.pyi
vendored
@@ -93,12 +93,12 @@ class Session(SessionRedirectMixin):
|
||||
stream: Optional[bool] = ...,
|
||||
verify: Union[None, bool, Text] = ...,
|
||||
cert: Union[Text, Tuple[Text, Text], None] = ...,
|
||||
json: Optional[MutableMapping] = ...,
|
||||
json: Optional[Any] = ...,
|
||||
) -> Response: ...
|
||||
def get(self, url: Union[Text, bytes], **kwargs) -> Response: ...
|
||||
def options(self, url: Union[Text, bytes], **kwargs) -> Response: ...
|
||||
def head(self, url: Union[Text, bytes], **kwargs) -> Response: ...
|
||||
def post(self, url: Union[Text, bytes], data: _Data = ..., json: Optional[MutableMapping] = ..., **kwargs) -> Response: ...
|
||||
def post(self, url: Union[Text, bytes], data: _Data = ..., json: Optional[Any] = ..., **kwargs) -> Response: ...
|
||||
def put(self, url: Union[Text, bytes], data: _Data = ..., **kwargs) -> Response: ...
|
||||
def patch(self, url: Union[Text, bytes], data: _Data = ..., **kwargs) -> Response: ...
|
||||
def delete(self, url: Union[Text, bytes], **kwargs) -> Response: ...
|
||||
|
||||
Reference in New Issue
Block a user