This library provides static type annotations for the `aiobotocore` Textract service client, enhancing code reliability through static type checking with tools like MyPy and Pyright. It is currently at version 3.4.0 and is generated by `mypy-boto3-builder 8.12.0`, receiving frequent updates in sync with new `aiobotocore` releases and builder improvements.
pip install types-aiobotocore-textractVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize an `aiobotocore` Textract client and use it with type annotations provided by `types-aiobotocore-textract`. The example calls `analyze_document` with dummy S3 object details. For a successful run, replace `dummy_s3_bucket` and `dummy_s3_key` with actual values pointing to a document in an S3 bucket accessible by your AWS credentials.
Upgrade your Python environment to 3.9 or newer. Users on Python 3.8 or older will need to use an older stub version or migrate their Python environment.
Review your code for any custom TypeDef imports or direct references that might have been affected by the naming change and update them accordingly. Consult the specific service's `type_defs.pyi` for the correct names.
Ensure `aiobotocore` is installed in your environment alongside the type stubs: `pip install aiobotocore`. For type checking, `mypy` or `pyright` are also required as development dependencies.
Ensure your type checker (e.g., MyPy, Pyright) is up-to-date and correctly configured to find PEP 561-style stub packages. Most common setups should work without manual intervention.