mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2026-01-08 13:20:31 +00:00
Fixes order of content type detection strategies for byte-encoded jsons.
Before
```
json_bytes = json.dumps([{"example": "data"}]).encode("utf-8")
file_buffer = io.BytesIO(json_bytes)
detect_filetype(file=file_buffer, metadata_file_path="filename.pdf")
```
Before
PDF
Now
JSON
17 lines
334 B
Plaintext
17 lines
334 B
Plaintext
#
|
|
# This file is autogenerated by pip-compile with Python 3.9
|
|
# by the following command:
|
|
#
|
|
# pip-compile ./extra-pptx.in
|
|
#
|
|
lxml==5.3.1
|
|
# via python-pptx
|
|
pillow==11.1.0
|
|
# via python-pptx
|
|
python-pptx==1.0.2
|
|
# via -r ./extra-pptx.in
|
|
typing-extensions==4.12.2
|
|
# via python-pptx
|
|
xlsxwriter==3.2.2
|
|
# via python-pptx
|