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

Method __init__

mitmproxy/tools/console/flowlist.py:88–93  ·  view source on GitHub ↗
(self, master: "mitmproxy.tools.console.master.ConsoleMaster")

Source from the content-addressed store, hash-verified

86 keyctx = "flowlist"
87
88 def __init__(self, master: "mitmproxy.tools.console.master.ConsoleMaster") -> None:
89 self.master: "mitmproxy.tools.console.master.ConsoleMaster" = master
90 super().__init__(FlowListWalker(master))
91 self.master.options.subscribe(
92 self.set_flowlist_layout, ["console_flowlist_layout"]
93 )
94
95 def keypress(self, size, key):
96 if key == "m_start":

Callers

nothing calls this directly

Calls 3

FlowListWalkerClass · 0.85
subscribeMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected