Skip to content
Myr

docs: clarify timeout parameter uses seconds in Session.request (#6994)

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

authored by Quaylyn Rimer · committed by GitHub · parent 91a3eab · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/requests/sessions.py+1 added-1 removed
533 unmodified lines
534 :param files: (optional) Dictionary of ``'filename': file-like-objects``535 for multipart encoding upload.536 :param auth: (optional) Auth tuple or callable to enable537 Basic/Digest/Custom HTTP Auth.538 :param timeout: (optional) How long to wait for the server to send538 :param timeout: (optional) How many seconds to wait for the server to send539 data before giving up, as a float, or a :ref:`(connect timeout,540 read timeout) <timeouts>` tuple.541 :type timeout: float or tuple542 :param allow_redirects: (optional) Set to True by default.
289 unmodified lines