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

Function _node

tests/test_markdown_sections.py:45–47  ·  view source on GitHub ↗
(path: Path, label: str)

Source from the content-addressed store, hash-verified

43
44
45def _node(path: Path, label: str) -> dict:
46 node = next(n for n in extract_markdown(path)["nodes"] if n["label"] == label)
47 return {**node, "source_file": path.name}
48
49
50@pytest.fixture()

Calls 1

extract_markdownFunction · 0.90

Tested by

no test coverage detected