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

Method __len__

tests/test_common.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self._pages = [FakePdfPage(text) for text in pages]
59
60 def __len__(self) -> int:
61 return len(self._pages)
62
63 def __getitem__(self, index: int) -> FakePdfPage:
64 return self._pages[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected