Steve Canny f2e67539b1
rfctr: clean MSG partitioner and tests as prep (#3107)
**Summary**
Fix type errors and generally prepare `partition_msg()` and its tests
for refactoring to use `python-oxmsg` library instead of the problematic
`msg_parser` library for partitioning Outlook MSG files.
2024-05-29 21:36:05 +00:00

17 lines
356 B
Python

from __future__ import annotations
from typing import Any
class MsOxMessage:
attachments: list[Attachment]
body: str | None
header_dict: dict[str, Any]
def __init__(self, msg_file_path: str) -> None: ...
class Attachment:
AttachExtension: str | None
AttachLongFilename: str | None
AttachmentSize: int | None
data: bytes