mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-01 01:29:53 +00:00
The purpose of this PR is to enable registering new file types dynamically. The PR enables this through 2 primary functions: 1. `unstructured.file_utils.model.create_file_type` This registers the new `FileType` enum which enables the rest of unstructured to understand a new type of file 2. `unstructured.file_utils.model.register_partitioner` Decorator that enables registering a partitioner function to run for a file type. --------- Co-authored-by: Roman Isecke <136338424+rbiseck3@users.noreply.github.com>