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

Function _one

tests/test_lua_underscore_ids.py:35–37  ·  view source on GitHub ↗
(ids: dict[str, list[str]], label: str)

Source from the content-addressed store, hash-verified

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

Calls 1

getMethod · 0.45

Tested by

no test coverage detected