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

Function _one

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

Source from the content-addressed store, hash-verified

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

Calls 1

getMethod · 0.45

Tested by

no test coverage detected