Skip to content

Commit

Permalink
Change json arguments in requests to Any (python#2497)
Browse files Browse the repository at this point in the history
  • Loading branch information
rberenguel authored and JelleZijlstra committed Sep 30, 2018
1 parent 45a11b9 commit 3814d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/2and3/requests/sessions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down

0 comments on commit 3814d47

Please sign in to comment.