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

Method __init__

test/mitmproxy/test_optmanager.py:16–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14
15class TO(optmanager.OptManager):
16 def __init__(self):
17 super().__init__()
18 self.add_option("one", Optional[int], None, "help")
19 self.add_option("two", Optional[int], 2, "help")
20 self.add_option("bool", bool, False, "help")
21 self.add_option("required_int", int, 2, "help")
22
23
24class TD(optmanager.OptManager):

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

add_optionMethod · 0.45

Tested by

no test coverage detected