This package provides type annotations for the `boto3` FinSpaceData service, generated with `mypy-boto3-builder`. It ensures type checking for your AWS FinSpaceData client code. The current version is 1.42.3, and releases are frequent, typically in sync with new `boto3` and `botocore` versions, or when new AWS service features are released.
pip install mypy-boto3-finspace-dataVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to initialize a `boto3` client with type hints from `mypy-boto3-finspace-data` and make a sample API call. The `TYPE_CHECKING` block ensures these imports are only used by type checkers, not at runtime.
Upgrade your Python environment to 3.9 or higher. If you must use Python 3.8, pin `mypy-boto3-finspace-data` to a version prior to 8.12.0 (e.g., `<8.12.0`).
Review and update `TypedDict` names in your type annotations to match the new, potentially shorter, generated names. Refer to the specific service's `type_defs.pyi` for exact names.
Ensure `boto3` is installed alongside `mypy-boto3-finspace-data`: `pip install boto3 mypy-boto3-finspace-data`.
Align `mypy-boto3-finspace-data` and `boto3` versions as closely as possible, typically by updating both to their latest compatible versions.