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

Description for DocumentProcessorServiceAsyncClient class #12544

Open
gheduardo opened this issue Apr 3, 2024 · 1 comment
Open

Description for DocumentProcessorServiceAsyncClient class #12544

gheduardo opened this issue Apr 3, 2024 · 1 comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: docs Improvement to the documentation for an API.

Comments

@gheduardo
Copy link

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

NOTE: Google Cloud Python client libraries are no longer maintained inside this repository. Please visit the python-API repository (e.g., https://github.com/googleapis/python-pubsub/issues) for faster response times.

See all published libraries in the README.

Descriptions for DocumentProcessorServiceAsyncClient and DocumentProcessorServiceClient class are exactly the same.
There is no clear description on what their differences are nor when to use them.
Moreover, the customers are growing confused since there is a limit of 10 pages per document processing when using DocumentProcessorServiceAsyncClient (except if using batch processing). See one more reference of the same in this Stack Overflow post:

https://stackoverflow.com/questions/71887957/400-document-pages-exceed-the-limit-page-limit-exceeded

This is shown in the public documentation here:
https://cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.services.document_processor_service

These GitHub pages are the source of the above:

  • DocumentProcessorServiceAsyncClient - packages/google-cloud-documentai/google/cloud/documentai_v1/services/document_processor_service/async_client.py
  • DocumentProcessorServiceClient - packages/google-cloud-documentai/google/cloud/documentai_v1/services/document_processor_service/client.py

Request:

  • Update class descriptions
  • Add use case
  • Add limitation of 10 pages per document when using DocumentProcessorServiceAsyncClient (except if using batch processing)
@ohmayr
Copy link
Contributor

ohmayr commented Apr 4, 2024

@gheduardo Thanks for reporting this issue. We are taking a look into this and will provide an update soon.

@ohmayr ohmayr added type: docs Improvement to the documentation for an API. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

2 participants