Registry /
type-stubs / mypy-boto3-connectparticipant
Install & Compatibility
Where this runs
tested against v1.43.23 · 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.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ConnectParticipantClient
✓ from mypy_boto3_connectparticipant import ConnectParticipantClient
✗ from mypy_boto3_connectparticipant import ConnectParticipantClient
This quickstart demonstrates how to import and use the `ConnectParticipantClient` type hint with a `boto3` client. This allows your IDE and type checker (like mypy) to provide autocompletion and enforce correct usage of the ConnectParticipant service client methods and their parameters.
import boto3
from mypy_boto3_connectparticipant.client import ConnectParticipantClient
def get_connectparticipant_client() -> ConnectParticipantClient:
"""Returns a type-hinted boto3 ConnectParticipant client."""
client: ConnectParticipantClient = boto3.client("connectparticipant")
# Example usage (replace with actual logic)
# transcript = client.get_transcript(ConnectionToken="your_token")
# print(transcript)
return client
if __name__ == "__main__":
connect_client = get_connectparticipant_client()
print(f"Successfully created ConnectParticipant client: {connect_client}")
Debug
Known issues
breakingSupport for Python 3.8 has been removed across all `mypy-boto3-*` packages, including `mypy-boto3-connectparticipant`. Projects using Python 3.8 will need to upgrade to Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or higher.
affects: mypy-boto3-builder 8.12.0 and later, affecting packages like 1.42.3
breakingThe `mypy-boto3-builder` (which generates this package) migrated to PEP 561 compliant packages. This might require adjustments in specific build systems or older `mypy` configurations, though generally provides better type stub discovery.fixEnsure your environment is set up to correctly discover PEP 561-compliant type packages. This typically involves ensuring the stub package is installed in your environment.
affects: mypy-boto3-builder 8.12.0 and later, affecting packages like 1.42.3
breakingOlder versions of `mypy-boto3-builder` (v8.9.0) introduced breaking changes to `TypeDef` naming conventions, shortening some names and reordering postfixes for conflicting names. While not specific to `connectparticipant` in the provided examples, users leveraging `TypeDef`s across `mypy-boto3` packages should be aware.fixReview your code for `TypeDef` imports and update their names according to the new conventions if they were affected (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`).
affects: mypy-boto3-builder 8.9.0 and later
gotchaFor optimal IDE support (e.g., VSCode, PyCharm) and consistent `mypy` results, it is often recommended to use explicit type annotations for `boto3.client` and `session.client` calls, even though auto-discovery is present in `boto3-stubs`.fixExplicitly add type hints, e.g., `client: ConnectParticipantClient = boto3.client('connectparticipant')`. affects: All versions
gotchaPylint might report 'undefined variable' errors when using `TYPE_CHECKING` guards to conditionally import type stubs. This is a known issue with Pylint.fixAs a workaround, set all types to `object` in the non-`TYPE_CHECKING` branch: `if TYPE_CHECKING: from mypy_boto3_connectparticipant.client import ConnectParticipantClient else: ConnectParticipantClient = object`.
affects: All versions
Upgrade
Version history
1.43.23latest on PyPI · released Jun 4, 2026
Audit
Dependencies
boto3optionalRuntime dependency for the actual AWS SDK used with these type stubs.
mypyoptionalRequired for static type checking to utilize these stubs.
pythonrequiredMinimum Python version requirement.