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

Method _on_change

mitmproxy/tools/console/keymap.py:85–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 raise ValueError("Unsupported context: %s" % c)
84
85 def _on_change(self) -> None:
86 signals.keybindings_change.send()
87 self.binding_for_help.cache_clear()
88
89 def add(self, key: str, command: str, contexts: Sequence[str], help="") -> None:
90 """

Callers 3

addMethod · 0.95
removeMethod · 0.95
unbindMethod · 0.95

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected