MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _only_call

Function _only_call

tests/test_ruby_resolution.py:85–88  ·  view source on GitHub ↗
(graph: dict, target_label: str = ".helper()")

Source from the content-addressed store, hash-verified

83
84
85def _only_call(graph: dict, target_label: str = ".helper()") -> dict:
86 matches = _call_edges_matching(graph, ".call()", target_label)
87 assert len(matches) == 1
88 return matches[0]
89
90
91HELPER_RB = """\

Calls 1

_call_edges_matchingFunction · 0.85

Tested by

no test coverage detected