MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / __init__

Method __init__

tests/test_common.py:56–58  ·  view source on GitHub ↗
(self, metadata: dict[str, str], pages: list[str])

Source from the content-addressed store, hash-verified

54
55class FakePdfDoc:
56 def __init__(self, metadata: dict[str, str], pages: list[str]) -> None:
57 self.metadata = metadata
58 self._pages = [FakePdfPage(text) for text in pages]
59
60 def __len__(self) -> int:
61 return len(self._pages)

Callers

nothing calls this directly

Calls 1

FakePdfPageClass · 0.70

Tested by

no test coverage detected