Registry / type-stubs / mypy-boto3-finspace-data

mypy-boto3-finspace-data

JSON →
library1.43.0pypypi✓ verified 22d ago

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-data
INSTALL
IMPORT
SIG · MYPY-BOTO3-FINSPAC
M
mypy-boto3-finspace-data
type-stubspythonv1.43.0
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FinSpaceDataClient
from mypy_boto3_finspace_data import FinSpaceDataClient
from mypy_boto3_finspace_data import FinSpaceDataClient

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.

from typing import TYPE_CHECKING import boto3 if TYPE_CHECKING: from mypy_boto3_finspace_data.client import FinSpaceDataClient from mypy_boto3_finspace_data.type_defs import ListChangesetsResponseTypeDef try: # Initialize the boto3 client for FinSpaceData client: FinSpaceDataClient = boto3.client('finspace-data') # Example API call: ListChangesets # Note: Replace 'your-dataset-id' with an actual FinSpaceData dataset ID # or use a placeholder for type checking demonstration. dataset_id = 'your-dataset-id' # os.environ.get('FINSPACE_DATA_DATASET_ID', 'placeholder') if dataset_id == 'your-dataset-id': print("Please provide a valid FinSpaceData dataset ID for a successful API call.") # For demonstration, we'll simulate a response structure for type checking. response: ListChangesetsResponseTypeDef = { 'changesets': [], 'nextToken': 'string', 'ResponseMetadata': { 'RequestId': 'string', 'HTTPStatusCode': 200, 'HTTPHeaders': {}, 'RetryAttempts': 0 } } else: response = client.list_changesets(datasetId=dataset_id) print(f"Successfully listed changesets for dataset '{dataset_id}'.") print(f"First changeset ID: {response['changesets'][0]['changesetId'] if response['changesets'] else 'N/A'}") # Type check the response structure _ = response['changesets'] _ = response['ResponseMetadata'] except Exception as e: print(f"An error occurred: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed in version 8.12.0 of the `mypy-boto3-builder`, which affects all generated service packages, including `mypy-boto3-finspace-data`. Projects using Python 3.8 will need to upgrade to Python 3.9+.
fix
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`).
affects: >=8.12.0
breakingVersion 8.9.0 of the builder introduced changes to how `TypedDict` names are generated for certain API parameters and responses (e.g., shortening `CreateDistributionRequestRequestTypeDef` to `CreateDistributionRequestTypeDef`). This can cause type checking errors if your code relies on the old, longer `TypedDict` names.
fix
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.
affects: >=8.9.0
gotchaThis package provides only type stubs (interface definitions) for `boto3`. It does not contain any runtime code. You must install `boto3` (and its dependencies like `botocore`) separately for your code to execute.
fix
Ensure `boto3` is installed alongside `mypy-boto3-finspace-data`: `pip install boto3 mypy-boto3-finspace-data`.
affects: all
gotchaFor optimal type checking, the major and minor version of `mypy-boto3-finspace-data` should ideally match your installed `boto3` version. Mismatched versions can lead to incorrect or missing type definitions, especially with new API features or changes.
fix
Align `mypy-boto3-finspace-data` and `boto3` versions as closely as possible, typically by updating both to their latest compatible versions.
affects: all
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the actual runtime functionality; this package only offers type stubs.
Agent activity
25 hits · last 30 days
node
20
OpenAI (training)
2
Amazon
1
Resources
mypy-boto3-finspace-data — pip install mypy-boto3-finspace-data · libregistry