Load text content from file.
(filepath: str)
| 38 | f.write(content) |
| 39 | |
| 40 | @staticmethod |
| 41 | def load_text(filepath: str) -> str: |
| 42 | """Load text content from file.""" |
| 43 | with open(filepath, "r", encoding="utf-8") as f: |
| 44 | return f.read() |
| 45 | |
| 46 |
no outgoing calls
no test coverage detected