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

Function _node

tests/test_delphi_form_resolution.py:33–37  ·  view source on GitHub ↗
(graph: dict, label: str, suffix: str)

Source from the content-addressed store, hash-verified

31
32
33def _node(graph: dict, label: str, suffix: str) -> dict | None:
34 for n in graph["nodes"]:
35 if str(n.get("label")) == label and str(n.get("source_file", "")).endswith(suffix):
36 return n
37 return None
38
39
40def _edges_from(graph: dict, node_id: str, context: str) -> list[dict]:

Calls 1

getMethod · 0.45

Tested by

no test coverage detected