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

Method __init__

mitmproxy/tools/console/commands.py:46–49  ·  view source on GitHub ↗
(self, master)

Source from the content-addressed store, hash-verified

44
45class CommandListWalker(urwid.ListWalker):
46 def __init__(self, master):
47 self.master = master
48 self.index = 0
49 self.refresh()
50
51 def refresh(self):
52 self.cmds = list(self.master.commands.commands.values())

Callers

nothing calls this directly

Calls 1

refreshMethod · 0.95

Tested by

no test coverage detected