Extract text from an email
| 22 | |
| 23 | |
| 24 | class EmlParser(InformalParserInterface): |
| 25 | """Extract text from an email""" |
| 26 | def load_data_source(self, path: str, file_name: str) -> str: |
| 27 | """Overrides InformalParserInterface.load_data_source()""" |
| 28 | pass |
| 29 | |
| 30 | def extract_text_from_email(self, full_file_path: str) -> dict: |
| 31 | """A method defined only in EmlParser. |
| 32 | Does not override InformalParserInterface.extract_text() |
| 33 | """ |
| 34 | pass |
| 35 | |
| 36 | |
| 37 | print(issubclass(PdfParser, InformalParserInterface)) |
nothing calls this directly
no outgoing calls
no test coverage detected