Registry /
type-stubs / mypy-boto3-iotdeviceadvisor
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
muslpy 3.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 3.4s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
IoTDeviceAdvisorClient
✓ from mypy_boto3_iotdeviceadvisor import IoTDeviceAdvisorClient
✗ from mypy_boto3_iotdeviceadvisor import IoTDeviceAdvisorClient
This example demonstrates how to initialize a `boto3` IoTDeviceAdvisor client with type annotations and use a basic operation like `list_suite_definitions`, leveraging the type hints provided by `mypy-boto3-iotdeviceadvisor`.
import boto3
from boto3.session import Session
from mypy_boto3_iotdeviceadvisor.client import IoTDeviceAdvisorClient
from mypy_boto3_iotdeviceadvisor.type_defs import ListSuiteDefinitionsResponseTypeDef
def get_iotdeviceadvisor_client() -> IoTDeviceAdvisorClient:
"""Initializes and returns an IoTDeviceAdvisor client with type hints."""
session: Session = boto3.Session(region_name='us-east-1')
client: IoTDeviceAdvisorClient = session.client('iotdeviceadvisor')
return client
# Example usage
client = get_iotdeviceadvisor_client()
response: ListSuiteDefinitionsResponseTypeDef = client.list_suite_definitions()
for suite in response.get('suiteDefinitionInformationList', []):
print(f"Suite Definition ID: {suite.get('suiteDefinitionId')}, Name: {suite.get('suiteDefinitionName')}")
Debug
Known issues
breakingPython 3.8 support has been removed across all `mypy-boto3` packages, including `mypy-boto3-iotdeviceadvisor`, as of `mypy-boto3-builder` version 8.12.0.fixEnsure your project runs on Python 3.9 or newer.
affects: mypy-boto3-builder >= 8.12.0
breakingThe `mypy-boto3-builder` (version 8.9.0) introduced breaking changes to `TypeDef` naming conventions, simplifying names like `CreateDistributionRequestRequestTypeDef` to `CreateDistributionRequestTypeDef`.fixUpdate your import paths and `TypeDef` references to reflect the shorter, standardized names. Check the service's documentation for exact `TypeDef` names.
affects: mypy-boto3-builder >= 8.9.0
gotchaWhile standalone `mypy-boto3-iotdeviceadvisor` provides specific service stubs, for full `boto3` type coverage and to leverage features like automatic client/resource type discovery, it's generally recommended to install the broader `boto3-stubs` package with the service extra (e.g., `pip install 'boto3-stubs[iotdeviceadvisor]'`). This provides stubs for all of boto3's API.fixConsider `pip install 'boto3-stubs[iotdeviceadvisor]'` for more comprehensive type checking across your `boto3` usage, or generate stubs locally with `mypy-boto3-builder`.
affects: All versions
gotchaUsers of PyCharm may experience slow performance when dealing with Literal overloads within `mypy-boto3` stubs. For such cases, `boto3-stubs-lite` is suggested as a more RAM-friendly alternative.fixIf encountering performance issues in PyCharm, consider using `boto3-stubs-lite` instead of the full `boto3-stubs` or service-specific packages. Note that `boto3-stubs-lite` might require more explicit type annotations.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredCore AWS SDK for which type stubs are provided.
mypyoptionalStatic type checker that consumes these annotations.