mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-09-25 08:19:22 +00:00
fix: unstructured-ingest entrypoint (#1068)
This commit is contained in:
parent
50389f15a8
commit
2a9fb057c1
@ -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
|
||||
|
||||
|
@ -1 +1 @@
|
||||
__version__ = "0.9.1-dev11" # pragma: no cover
|
||||
__version__ = "0.9.1" # pragma: no cover
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user