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

Function _class_node_id

tests/test_pascal_call_scoping.py:25–28  ·  view source on GitHub ↗
(r, class_label)

Source from the content-addressed store, hash-verified

23
24
25def _class_node_id(r, class_label):
26 matches = [n["id"] for n in r["nodes"] if n["label"] == class_label]
27 assert len(matches) == 1, f"expected exactly one node labeled {class_label!r}, got {matches}"
28 return matches[0]
29
30
31def _method_node_id(r, class_label, method_label):

Callers 1

_method_node_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected