put() — requests Function Reference
Architecture documentation for the put() function in api.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 2efb9192_fef0_df46_5ab7_7c2658857f5d["put()"] b9426d6e_b47d_565b_5251_7d3a1c1dfbd1["api.py"] 2efb9192_fef0_df46_5ab7_7c2658857f5d -->|defined in| b9426d6e_b47d_565b_5251_7d3a1c1dfbd1 8f0a1008_20a1_45d8_2ae7_96c1a7562216["request()"] 2efb9192_fef0_df46_5ab7_7c2658857f5d -->|calls| 8f0a1008_20a1_45d8_2ae7_96c1a7562216 style 2efb9192_fef0_df46_5ab7_7c2658857f5d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/requests/api.py lines 118–130
def put(url, data=None, **kwargs):
r"""Sends a PUT request.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:return: :class:`Response <Response>` object
:rtype: requests.Response
"""
return request("put", url, data=data, **kwargs)
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does put() do?
put() is a function in the requests codebase, defined in src/requests/api.py.
Where is put() defined?
put() is defined in src/requests/api.py at line 118.
What does put() call?
put() calls 1 function(s): request.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free