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

Function _calls

tests/test_python_member_call_language_gate.py:96–101  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

94
95
96def _calls(result):
97 nodes = {n["id"]: n for n in result["nodes"]}
98 return {(nodes[e["source"]].get("label"), nodes[e["source"]].get("source_file"),
99 nodes[e["target"]].get("label"), nodes[e["target"]].get("source_file"))
100 for e in result["edges"]
101 if e["relation"] == "calls" and e["source"] in nodes and e["target"] in nodes}
102
103
104LIB = "class Inner:\n @staticmethod\n def go():\n return 1\n"

Calls 1

getMethod · 0.45

Tested by

no test coverage detected