MCPcopy
hub / github.com/mitmproxy/mitmproxy / bind

Method bind

mitmproxy/tools/console/keymap.py:124–126  ·  view source on GitHub ↗
(self, binding: Binding)

Source from the content-addressed store, hash-verified

122 self._on_change()
123
124 def bind(self, binding: Binding) -> None:
125 for c in binding.contexts:
126 self.keys[c][binding.keyspec()] = binding
127
128 def unbind(self, binding: Binding) -> None:
129 """

Callers 15

addMethod · 0.95
removeMethod · 0.95
conftest.pyFile · 0.80
verify_arg_signatureFunction · 0.80
prepare_argsMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
ndFunction · 0.80

Calls 1

keyspecMethod · 0.80

Tested by

no test coverage detected