Files
intellecton/venv/lib/python3.12/site-packages/requests/__pycache__/hooks.cpython-312.pyc
T

25 lines
1.5 KiB
Plaintext
Raw Normal View History

Ë
jrãó†UdZddlmZddlmZmZddlmZmZer ddl m
Z ddl m
Z
dgZd ed
<dd Z dd Zy
)
requests.hooks
~~~~~~~~~~~~~~
This module provides the capabilities for the Requests hooks system.
Available hooks:
``response``:
The response generated from a Request.
é)Ú annotations)ÚCallableÚIterable)Ú
TYPE_CHECKINGÚAnyé)Ú_types)ÚResponseÚresponsez list[str]ÚHOOKScó6tDcic]}|gŒc}Scc}w)N)r )Úevents úQ/home/antigravity/intellecton/venv/lib/python3.12/site-packages/requests/hooks.pyÚ
default_hooksrsÜ#(Ö )˜%ˆE2‰IÒ )ùÒ )s
c óˆ|xsi}|j|«}|r(t|t«r|g}|D]}||fi|¤Ž}|Œ|}Œ|S)z6Dispatches a hook dictionary on a given piece of data.)ÚgetÚ
isinstancer)ÚkeyÚhooksÚ hook_dataÚkwargsÚ
hooks_dictÚ hook_listÚhookÚ
_hook_datas rÚ
dispatch_hookr s`ð˜"€JØ<F¿N¹NÈ3Ó<O€IÙÜ Ô "˜ ˆò 'ˆ˜2¨6Ñ2ˆÑ& ð ÐóN)Úreturnzdict[str, list[_t.HookType]])
rÚstrrz_t.HooksInputType | Nonerr