MCPcopy
hub / github.com/mitmproxy/mitmproxy / Record

Class Record

test/mitmproxy/addons/test_view.py:468–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466
467
468class Record:
469 def __init__(self):
470 self.calls = []
471
472 def __bool__(self):
473 return bool(self.calls)
474
475 def __repr__(self):
476 return repr(self.calls)
477
478 def __call__(self, *args, **kwargs):
479 self.calls.append((args, kwargs))
480
481
482def test_signals():

Callers 1

test_signalsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_signalsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…