mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-26 06:36:06 +00:00
chore: add py.typed (#3043)
This PR adds `py.typed`, which will fix issues of the following type: ![Uploading Screenshot 2024-05-17 at 12.13.33.png…]() --------- Co-authored-by: Matt Robinson <mrobinson@unstructured.io>
This commit is contained in:
parent
d7608014c0
commit
8802535e95
@ -35,7 +35,8 @@
|
||||
* **Fix possible `SyntaxError` or `SyntaxWarning` on regex patterns.** Change regex patterns to raw strings to avoid these warnings/errors in Python 3.11+.
|
||||
* **Fix disk-space leak in `partition_odt()`.** Remove temporary file created but not removed when `file` argument is passed to `partition_odt()`.
|
||||
* **AstraDB: option to prevent indexing metadata**
|
||||
|
||||
* **Fix Missing py.typed**
|
||||
|
||||
## 0.13.7
|
||||
|
||||
### Enhancements
|
||||
|
||||
2
setup.py
2
setup.py
@ -176,5 +176,5 @@ setup(
|
||||
"databricks-volumes": load_requirements("requirements/ingest/databricks-volumes.in"),
|
||||
},
|
||||
package_dir={"unstructured": "unstructured"},
|
||||
package_data={"unstructured": ["nlp/*.txt"]},
|
||||
package_data={"unstructured": ["nlp/*.txt", "py.typed"]},
|
||||
)
|
||||
|
||||
2
unstructured/py.typed
Normal file
2
unstructured/py.typed
Normal file
@ -0,0 +1,2 @@
|
||||
# this is a marker used by static type checkers such as MyPy
|
||||
# see: https://peps.python.org/pep-0561/ for reference.
|
||||
Loading…
x
Reference in New Issue
Block a user