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

Function _one

tests/test_cpp_underscore_ids.py:36–38  ·  view source on GitHub ↗
(ids: dict[str, list[str]], label: str)

Source from the content-addressed store, hash-verified

34
35
36def _one(ids: dict[str, list[str]], label: str) -> str:
37 assert len(ids.get(label, [])) == 1, (label, ids.get(label))
38 return ids[label][0]
39
40
41def _calls(result: dict) -> set[tuple[str, str]]:

Calls 1

getMethod · 0.45

Tested by

no test coverage detected