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

Function _find

tests/test_java_member_calls.py:32–37  ·  view source on GitHub ↗
(result: dict, label: str, id_contains: str)

Source from the content-addressed store, hash-verified

30
31
32def _find(result: dict, label: str, id_contains: str) -> str:
33 return next(
34 node["id"]
35 for node in result["nodes"]
36 if node.get("label") == label and id_contains in node["id"]
37 )
38
39
40_AMBIGUOUS_METHODS = {

Calls 1

getMethod · 0.45

Tested by

no test coverage detected