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

Method __init__

test/mitmproxy/test_optmanager.py:184–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182
183 class binder:
184 def __init__(self):
185 self.o = TO()
186 self.called = False
187 self.o.subscribe(self.bound, ["two"])
188
189 def bound(self, *args, **kwargs):
190 self.called = True

Callers

nothing calls this directly

Calls 2

subscribeMethod · 0.80
TOClass · 0.70

Tested by

no test coverage detected