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

Function _decl

tests/test_rust_use_trees.py:253–254  ·  view source on GitHub ↗
(result: dict, label: str, suffix: str)

Source from the content-addressed store, hash-verified

251
252
253def _decl(result: dict, label: str, suffix: str) -> str:
254 return next(n["id"] for n in result["nodes"] if n["label"] == label and n.get("source_file", "").endswith(suffix))
255
256
257@pytest.mark.parametrize("model", [

Calls 1

getMethod · 0.45

Tested by

no test coverage detected