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

Function _read

tests/test_markdown_sections.py:57–60  ·  view source on GitHub ↗
(doc: Path, label: str, **kw)

Source from the content-addressed store, hash-verified

55
56
57def _read(doc: Path, label: str, **kw):
58 section, reason = read_section(_node(doc, label), doc.parent, **kw)
59 assert section is not None, reason
60 return section
61
62
63def test_section_runs_to_next_heading_of_same_or_shallower_level(doc: Path) -> None:

Calls 2

read_sectionFunction · 0.90
_nodeFunction · 0.70

Tested by

no test coverage detected