add docstring parameter hooks (#6456)

This commit is contained in:
cpzt
2023-07-30 09:01:42 +08:00
committed by GitHub
parent cdbc2e2715
commit fecf3dc472
+2
View File
@@ -545,6 +545,8 @@ class Session(SessionRedirectMixin):
:type allow_redirects: bool
:param proxies: (optional) Dictionary mapping protocol or protocol and
hostname to the URL of the proxy.
:param hooks: (optional) Dictionary mapping hook name to one event or
list of events, event must be callable.
:param stream: (optional) whether to immediately download the response
content. Defaults to ``False``.
:param verify: (optional) Either a boolean, in which case it controls whether we verify