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

Function norm

tests/test_cpp_receiver_parameters.py:56–57  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

54 r = extract([tmp_path / n for n in files], cache_root=Path(tempfile.mkdtemp()),
55 root=tmp_path, parallel=False)
56 def norm(label):
57 return str(label).strip(".").removesuffix("()")
58 labels = {n["id"]: norm(n["label"]) for n in r["nodes"]}
59 return {(labels.get(e["source"]), labels.get(e["target"]))
60 for e in r["edges"] if e.get("relation") == "calls"}, r

Callers 2

_callsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected