-
Notifications
You must be signed in to change notification settings - Fork 15
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
Document.from_batch_process_operation()
fails on running operation
#285
Comments
Hi, wondering if there is any update or fix here? |
Workaround for now, use from google.cloud import documentai
from google.cloud.documentai_toolbox import document
operation = client.batch_process_documents(request)
operation.result(timeout=timeout)
metadata = documentai.BatchProcessMetadata(operation.metadata)
wrapped_documents = document.Document.from_batch_process_metadata(metadata) |
holtskinner
added a commit
to GoogleCloudPlatform/document-ai-samples
that referenced
this issue
Jul 2, 2024
holtskinner
added a commit
to GoogleCloudPlatform/document-ai-samples
that referenced
this issue
Jul 2, 2024
…a()` (#849) - Workaround for googleapis/python-documentai-toolbox#285 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output from a Jupyter Notebook
The text was updated successfully, but these errors were encountered: