aws-samples / aws-samples/amazon-textract-textractor

Typo in `InputError` raised by `Textractor` constructor

Open
#431 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
493
Forks
163
PR merge metrics
No merged PRs in 30d

Description

### Description
The constructor for the `Textractor` class requires that an argument be passed in for either `profile_name` or `region_name`. However, the `InputError` that's raised when both of these arguments are missing refers to the parameter as `region` instead of `region_name`:

https://github.com/aws-samples/amazon-textract-textractor/blob/f34c34a6c75dd4675642e52c1bad5a6c0eaf8ee4/textractor/textractor.py#L103-L105

This is a very minor inconsistency, but I think it can cause some confusion (it did for me)!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.