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

Function _assert_no_dangling

tests/test_languages.py:5175–5179  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

5173
5174
5175def _assert_no_dangling(r):
5176 ids = {n["id"] for n in r["nodes"]}
5177 for e in r["edges"]:
5178 assert e["source"] in ids, f"dangling source: {e}"
5179 assert e["target"] in ids, f"dangling target: {e}"
5180
5181
5182# --- #1547: C++ paired header/impl --------------------------------------------

Calls

no outgoing calls

Tested by

no test coverage detected