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

Function _calls

tests/test_python_inherited_method_calls.py:39–43  ·  view source on GitHub ↗
(tmp_path, files: dict[str, str])

Source from the content-addressed store, hash-verified

37
38
39def _calls(tmp_path, files: dict[str, str]):
40 r = extract(_write(tmp_path, files), cache_root=tmp_path / "graphify-out", parallel=False)
41 nodes = {n["id"]: n for n in r["nodes"]}
42 edges = [e for e in r["edges"] if e["relation"] == "calls"]
43 return nodes, edges
44
45
46def _hits(nodes, edges, caller: str, callee: str = ".m()") -> list[str]:

Calls 2

extractFunction · 0.90
_writeFunction · 0.70

Tested by

no test coverage detected