(graph: dict, label: str, suffix: str)
| 31 | |
| 32 | |
| 33 | def _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 | |
| 40 | def _edges_from(graph: dict, node_id: str, context: str) -> list[dict]: |
no test coverage detected