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

Error in DocumentAI: cannot import IndividualPageSelector #403

Open
milsonian opened this issue Jul 25, 2024 · 0 comments
Open

Error in DocumentAI: cannot import IndividualPageSelector #403

milsonian opened this issue Jul 25, 2024 · 0 comments
Assignees

Comments

@milsonian
Copy link

When using DocAIParser on the currently released version, there is an error stemming from here:
ImportError: cannot import name 'IndividualPageSelector' from 'google.cloud.documentai_v1.types'

This is because in versions of google-cloud-documentai after v.2.26 (which is required by this package), IndividualPageSelector moved from google.cloud.documentai_v1.types into google.cloud.documentai_v1.types.document_processor_service ProcessOptions.

Incidentally this is fixed in #294 where I'll add another note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants