MCPcopy 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_hookFunction · 0.80
playbook_evalMethod · 0.80
test_start_hookFunction · 0.80
handle_lifecycleMethod · 0.80
invoke_addonMethod · 0.80
invoke_addon_syncMethod · 0.80
handle_hookMethod · 0.80
handle_hookMethod · 0.80
handle_hookMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by 2

test_hookFunction · 0.64
test_start_hookFunction · 0.64