mypy-boto3-timestream-query provides type annotations (stubs) for the `boto3` Timestream Query service, enhancing static analysis with tools like MyPy. It is actively maintained by the `youtype/mypy_boto3_builder` project, with versions updated frequently to align with new `boto3` releases and improvements to the builder itself. The current version is 1.42.3.
pip install boto3 mypy-boto3-timestream-queryVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to initialize a `boto3` Timestream Query client and use the `mypy-boto3-timestream-query` stubs for type-hinted API calls. This code requires valid AWS credentials with access to Timestream Query to run successfully.
Upgrade your Python environment to 3.9 or higher, or explicitly pin `mypy-boto3-timestream-query<1.42.3` to use an older compatible version.
Verify that your type checker (e.g., MyPy) correctly resolves imports. If issues arise, check your `mypy` configuration (e.g., `MYPYPATH`) and update as necessary. For most users, no action is required.
Always install `boto3` alongside `mypy-boto3-timestream-query`.
Keep `boto3` and `mypy-boto3-timestream-query` versions aligned. For example, `boto3==1.28.x` should ideally be paired with `mypy-boto3-timestream-query==1.42.x`.
Review the `mypy-boto3-builder` release notes for `8.9.0` and later, and update any directly referenced TypeDef names in your code to match the new convention.