Skip to content
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

fix: Reduce API polling for Document.from_batch_process_operation() #249

Merged
merged 5 commits into from Feb 2, 2024

Conversation

holtskinner
Copy link
Member

Also added ClientInfo to Document AI Clients to collect API usage metrics

Fixes #246 🦕

…atch_process_operation()`

fixes #246

Also added `ClientInfo` to Document AI Clients to collect API usage metrics
@holtskinner holtskinner requested review from a team as code owners February 2, 2024 17:14
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Feb 2, 2024
@holtskinner holtskinner enabled auto-merge (squash) February 2, 2024 17:15
- Required significant refactoring to convert the operations_pb into a Google API Core Operation that can be polled.
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Feb 2, 2024
@holtskinner holtskinner changed the title fix: Add polling interval and timeout parameters for Document.from_batch_process_operation() fix: Reduce API polling for Document.from_batch_process_operation() Feb 2, 2024
@holtskinner holtskinner merged commit 0677299 into main Feb 2, 2024
25 of 26 checks passed
@holtskinner holtskinner deleted the quota_api_limit branch February 2, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document.from_batch_process_operation() causing DocumentAI request quota limit to be exceeded.
2 participants