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

Function _one

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

Source from the content-addressed store, hash-verified

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

Calls 1

getMethod · 0.45

Tested by

no test coverage detected