Skip to content
Myr

Update models.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by anupam-arista · committed by GitHub · parent d96f998 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:src/requests/models.py+1 added-2 removed
944 unmodified lines
945 return content946947 def json(self, **kwargs):948 r"""Decodes the JSON response body (if any) as a Python object.949 This may return a dictionary, list, etc. depending on what is in the response.950950 This may return a dictionary, list, etc. depending on what is in the response.951951 :param \*\*kwargs: Optional arguments that ``json.loads`` takes.952 :raises requests.exceptions.JSONDecodeError: If the response body does not953 contain valid json.954 """
84 unmodified lines