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

Function _node

tests/test_objc_callable_markers.py:45–48  ·  view source on GitHub ↗
(result: dict, label: str)

Source from the content-addressed store, hash-verified

43
44
45def _node(result: dict, label: str) -> dict:
46 matches = [n for n in result["nodes"] if n.get("label") == label]
47 assert len(matches) == 1, [n.get("label") for n in result["nodes"]]
48 return matches[0]
49
50
51def test_a_class_is_marked_as_a_type(tmp_path: Path):

Calls 1

getMethod · 0.45

Tested by

no test coverage detected