Open holtskinner opened 5 months ago
Hi, wondering if there is any update or fix here?
Workaround for now, use Document.from_batch_process_metadata()
instead
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)
Output from a Jupyter Notebook