Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ _handle_event
Method
_handle_event
test/mitmproxy/proxy/test_tutils.py:37–40 ·
view source on GitHub ↗
(self, event: events.Event)
Source
from the content-addressed store, hash-verified
35
""
"
36
37
def
_handle_event(self, event: events.Event) -> layer.CommandGenerator[None]:
38
if
isinstance(event, TEvent):
39
for
x in event.commands:
40
yield
TCommand(x)
41
42
43
@pytest.fixture
Callers
nothing calls this directly
Calls
1
TCommand
Class · 0.85
Tested by
no test coverage detected