fix: unstructured-ingest entrypoint (#1068)

This commit is contained in:
ryannikolaidis 2023-08-08 22:49:30 -07:00 committed by GitHub
parent 50389f15a8
commit 2a9fb057c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
## 0.9.1-dev11
## 0.9.1
### Enhancements
@ -27,6 +27,7 @@
* Simplifies `min_partition` logic; makes partitions falling below the `min_partition`
less likely.
* Fix bug where ingest test check for number of files fails in smoke test
* Fix unstructured-ingest entrypoint failure
## 0.9.0

View File

@ -1 +1 @@
__version__ = "0.9.1-dev11" # pragma: no cover
__version__ = "0.9.1" # pragma: no cover

View File

@ -1,6 +1,11 @@
#!/usr/bin/env python3
from unstructured.ingest.cli.cli import get_cmd
if __name__ == "__main__":
def main():
ingest_cmd = get_cmd()
ingest_cmd()
if __name__ == "__main__":
main()