Skip to content
Myr

add docstring parameter `hooks` (#6456)

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

authored by cpzt · committed by GitHub · parent cdbc2e2 · Browse files · 1 file+2 added−0 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:requests/sessions.py+2 added
543 unmodified lines
544 :param allow_redirects: (optional) Set to True by default.545 :type allow_redirects: bool546 :param proxies: (optional) Dictionary mapping protocol or protocol and547 hostname to the URL of the proxy.548 :param hooks: (optional) Dictionary mapping hook name to one event or549 list of events, event must be callable.550 :param stream: (optional) whether to immediately download the response551 content. Defaults to ``False``.552 :param verify: (optional) Either a boolean, in which case it controls whether we verify553 the server's TLS certificate, or a string, in which case it must be a path
282 unmodified lines