-
Notifications
You must be signed in to change notification settings - Fork 25
Document the new async feature in the Python SDK #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| <CodeGroup> | ||
| ```python Python | ||
| ```python Python (TypedDict example) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds like we now have two ways to use the SDK: one pattern is to use the SDK to process a single file synchronously; the other pattern is how to use the SDK to process multiple files asynchronously. If so, then we should probably lead with the the mutli-file async pattern, as this provides the most power and flexibility. We should then follow with the single file sync pattern--perhaps even noting that we don't prefer its use anymore but still available for backward compatibility (that said, there are some breaking changes with this way as well).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(And we should probably update all of the Python SDK examples across the docs to now show how to use the multi-file async pattern only?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(A quick follow-up: we can wait until later to update all of the Python SDK examples across the docs to now show how to use the multi-file async pattern only.)
Co-authored-by: Paul-Cornell <paul@unstructured.io>
Co-authored-by: Paul-Cornell <paul@unstructured.io>
Co-authored-by: Paul-Cornell <paul@unstructured.io>
Co-authored-by: Paul-Cornell <paul@unstructured.io>
Making sure this is covered in the docs before we publish 0.26.0 with the new
partition_async.