Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ args
Method
args
mitmproxy/hooks.py:21–25 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
19
name: ClassVar[str]
20
21
def
args(self) -> list[Any]:
22
args = []
23
for
field in fields(self):
# type: ignore[arg-type]
24
args.append(getattr(self, field.name))
25
return
args
26
27
def
__new__(cls, *args, **kwargs):
28
if
cls is Hook:
Callers
9
test_hook
Function · 0.80
playbook_eval
Method · 0.80
test_start_hook
Function · 0.80
handle_lifecycle
Method · 0.80
invoke_addon
Method · 0.80
invoke_addon_sync
Method · 0.80
handle_hook
Method · 0.80
handle_hook
Method · 0.80
handle_hook
Method · 0.80
Calls
1
append
Method · 0.45
Tested by
2
test_hook
Function · 0.64
test_start_hook
Function · 0.64