Skip to content

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