**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.
partition_pdf()
skip_infer_tables
test_partition_via_api_with_no_strategy
date_from_file_object
partitoin_pdf()