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

Function _method_edges

tests/test_ruby_resolution.py:447–452  ·  view source on GitHub ↗
(result: dict)

Source from the content-addressed store, hash-verified

445
446
447def _method_edges(result: dict) -> set[tuple[str, str]]:
448 labels = _labels(result["nodes"])
449 return {
450 (labels.get(e["source"], ""), labels.get(e["target"], ""))
451 for e in result["edges"] if e.get("relation") == "method"
452 }
453
454
455def test_plain_module_gets_a_node_with_methods(tmp_path: Path) -> None:

Calls 2

_labelsFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected