MCPcopy
hub / github.com/mitmproxy/mitmproxy / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

37
38class TM(optmanager.OptManager):
39 def __init__(self):
40 super().__init__()
41 self.add_option("two", Sequence[str], ["foo"], "help")
42 self.add_option("one", Optional[str], None, "help")
43
44
45class TS(optmanager.OptManager):

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
add_optionMethod · 0.45

Tested by

no test coverage detected