Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psf/requests
/ default_hooks
Function
default_hooks
src/requests/hooks.py:25–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
24
25
def
default_hooks() -> dict[str, list[_t.HookType]]:
26
return
{event: []
for
event in HOOKS}
27
28
29
# TODO: response is the only one
Callers
5
test_prepared_request_with_hook_is_pickleable
Method · 0.90
test_data_argument_accepts_tuples
Function · 0.90
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
2
test_prepared_request_with_hook_is_pickleable
Method · 0.72
test_data_argument_accepts_tuples
Function · 0.72