MCPcopy Create free account
hub / github.com/NanoNets/docstrange / DocumentSection

Class DocumentSection

mcp_server_module/server.py:32–39  ·  view source on GitHub ↗

Represents a section in a document.

Source from the content-addressed store, hash-verified

30
31@dataclass
32class DocumentSection:
33 """Represents a section in a document."""
34 level: int
35 title: str
36 content: str
37 start_line: int
38 end_line: int
39 token_count: int = 0
40
41@dataclass
42class DocumentCache:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected