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

Function _caller

tests/test_python_member_call_language_gate.py:38–45  ·  view source on GitHub ↗
(prefix, source_file)

Source from the content-addressed store, hash-verified

36
37
38def _caller(prefix, source_file):
39 file_nid, caller_nid = prefix, f"{prefix}_run"
40 nodes = [
41 {"id": file_nid, "label": source_file, "source_file": source_file},
42 {"id": caller_nid, "label": "run()", "source_file": source_file},
43 ]
44 edges = [{"source": file_nid, "target": caller_nid, "relation": "contains"}]
45 return nodes, edges, caller_nid
46
47
48def _member_call(caller_nid, receiver, callee, source_file):

Calls

no outgoing calls

Tested by

no test coverage detected