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

Function _write

tests/test_query_seeds.py:25–30  ·  view source on GitHub ↗
(tmp_path, G)

Source from the content-addressed store, hash-verified

23
24
25def _write(tmp_path, G):
26 out = tmp_path / "graphify-out"
27 out.mkdir()
28 graph_path = out / "graph.json"
29 graph_path.write_text(json.dumps(json_graph.node_link_data(G, edges="links")))
30 return graph_path
31
32
33def test_given_seed_replaces_keyword_seeds():

Calls

no outgoing calls

Tested by

no test coverage detected