MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / TypeErrAddon

Class TypeErrAddon

test/mitmproxy/test_command.py:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68class TypeErrAddon:
69 @command.command("noret")
70 def noret(self):
71 pass
72
73 @command.command("invalidret")
74 def invalidret(self) -> Unsupported:
75 pass
76
77 @command.command("invalidarg")
78 def invalidarg(self, u: Unsupported):
79 pass
80
81
82class TestCommand:

Callers 2

test_typecheckMethod · 0.85
test_collect_commandsFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_typecheckMethod · 0.68
test_collect_commandsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…