Extract text from an email.
| 69 | pass |
| 70 | |
| 71 | class EmlParserNew: |
| 72 | """Extract text from an email.""" |
| 73 | def load_data_source(self, path: str, file_name: str) -> str: |
| 74 | """Overrides UpdatedInformalParserInterface.load_data_source()""" |
| 75 | pass |
| 76 | |
| 77 | def extract_text_from_email(self, full_file_path: str) -> dict: |
| 78 | """A method defined only in EmlParser. |
| 79 | Does not override UpdatedInformalParserInterface.extract_text() |
| 80 | """ |
| 81 | pass |
| 82 | |
| 83 | print(issubclass(PdfParserNew, UpdatedInformalParserInterface)) |
| 84 | print(issubclass(EmlParserNew, UpdatedInformalParserInterface)) |