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

Class FakePdfPage

tests/test_common.py:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46class FakePdfPage:
47 def __init__(self, text: str) -> None:
48 self.text = text
49
50 def get_text(self, mode: str) -> str:
51 assert mode == "text"
52 return self.text
53
54
55class FakePdfDoc:

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by 1

__init__Method · 0.56