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

Function _import_edges

tests/test_lua_import.py:13–18  ·  view source on GitHub ↗
(result: dict)

Source from the content-addressed store, hash-verified

11
12
13def _import_edges(result: dict) -> set[tuple[str, str, str]]:
14 return {
15 (edge["source"], edge["target"], edge["relation"])
16 for edge in result["edges"]
17 if edge["relation"] == "imports"
18 }
19
20
21def test_lua_bare_require_emits_import_edge(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected