MCPcopy Create free account
hub / github.com/microsoft/debugpy / Event

Function Event

tests/timeline.py:787–795  ·  view source on GitHub ↗
(event, body=some.object)

Source from the content-addressed store, hash-verified

785
786
787def Event(event, body=some.object):
788 exp = PatternExpectation("event", event, body)
789 items = (("event", event),)
790 if body is some.object:
791 items += (("\002...", "...\003"),)
792 else:
793 items += (("body", body),)
794 exp.describe = lambda: _describe_message("event", *items)
795 return exp
796
797
798def Request(command, arguments=some.object):

Callers 7

test_module_eventsFunction · 0.90
expectation_ofFunction · 0.90
is_excitingFunction · 0.90
test_conditionalFunction · 0.90
test_unobservedFunction · 0.90

Calls 2

PatternExpectationClass · 0.85
_describe_messageFunction · 0.85

Tested by 7

test_module_eventsFunction · 0.72
expectation_ofFunction · 0.72
is_excitingFunction · 0.72
test_conditionalFunction · 0.72
test_unobservedFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…