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

Method load

test/mitmproxy/data/addonscripts/configure.py:7–13  ·  view source on GitHub ↗
(self, loader)

Source from the content-addressed store, hash-verified

5
6class OptionAddon:
7 def load(self, loader):
8 loader.add_option(
9 name="optionaddon",
10 typespec=Optional[int],
11 default=None,
12 help="Option Addon",
13 )
14
15 def configure(self, updates):
16 raise exceptions.OptionsError("Options Error")

Callers

nothing calls this directly

Calls 1

add_optionMethod · 0.45

Tested by

no test coverage detected