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

Added config parameter #393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akhilnarayanan1
Copy link

Issue #, if available:

  • No option to set botocore config to the textract client.

Description of changes:

  • This change provides the ability to pass botocore config to Textract object

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Belval
Copy link
Contributor

Belval commented Nov 6, 2024

What is the use case here? Isn't this redundant since Config contains region as well?

@akhilnarayanan1
Copy link
Author

@Belval , yes, the Config object does indeed contain a region_name parameter.

The specific use case I'm interested in is implementing a retry mechanism at the API level. Within my organization, we're aiming to increase the number of retries for API calls in case of failures (such as throttling errors), as this can often resolve temporary issues.

The Config object offers granular control over various parameters, which can be beneficial for interacting with the underlying Boto3 APIs.

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

Successfully merging this pull request may close these issues.

2 participants