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

Method get

mitmproxy/addonmanager.py:150–156  ·  view source on GitHub ↗

Retrieve an addon by name. Addon names are equal to the .name attribute on the instance, or the lower case class name if that does not exist.

(self, name)

Source from the content-addressed store, hash-verified

148 self.chain = []
149
150 def get(self, name):
151 """
152 Retrieve an addon by name. Addon names are equal to the .name
153 attribute on the instance, or the lower case class name if that
154 does not exist.
155 """
156 return self.lookup.get(name, None)
157
158 def register(self, addon):
159 """

Callers 1

test_nestingFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_nestingFunction · 0.76