Skip to content

Typo in InputError raised by Textractor constructor #431

@dross20

Description

@dross20

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:

raise InputError(
"Unable to initiate Textractor. Either profile_name or region requires an input parameter."
)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions