Registry /
type-stubs / mypy-boto3-partnercentral-channel
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.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 51.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
PartnerCentralChannelClient
✓ from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelClient
Client
✓ from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelClient as Client
Common alias for convenience
ListChannelsResponseTypeDef
✓ from mypy_boto3_partnercentral_channel.type_defs import ListChannelsResponseTypeDef
Example of a common response type definition.
This quickstart demonstrates how to initialize a `boto3` client with `mypy-boto3-partnercentral-channel` type annotations for improved development experience. It shows a basic API call (`list_channels`) with a type-hinted response, enabling IDE autocompletion and MyPy checks.
import boto3
import os
from mypy_boto3_partnercentral_channel.client import PartnerCentralChannelClient
from mypy_boto3_partnercentral_channel.type_defs import ListChannelsResponseTypeDef
# Create a boto3 client with type hints
# AWS credentials are typically managed by environment variables, shared credential file, or IAM roles.
# For explicit region, use os.environ.get.
region = os.environ.get('AWS_REGION', 'us-east-1')
session = boto3.Session(region_name=region)
# The client variable is type-hinted for autocompletion and static analysis
client: PartnerCentralChannelClient = session.client("partnercentral-channel")
try:
# Use the client with type-hinted response
response: ListChannelsResponseTypeDef = client.list_channels()
print(f"Successfully listed channels in {region}:")
for channel in response.get("Channels", []):
print(f" - ID: {channel['ChannelId']}, Name: {channel['ChannelName']}")
except Exception as e:
print(f"Error listing Partner Central channels: {e}")
Debug
Known issues
breakingPython 3.8 support has been dropped for packages generated by `mypy-boto3-builder` version 8.12.0 and later. If you are using `mypy-boto3-partnercentral-channel` version 1.42.60 or newer, you must use Python 3.9 or higher.fixUpgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-partnercentral-channel >=1.42.60 (corresponding to mypy-boto3-builder >=8.12.0)
breakingTypeDef naming conventions changed in `mypy-boto3-builder` version 8.9.0. Specifically, argument TypeDefs were shortened, and 'Extra' postfixes were moved. This might cause import errors or incorrect type references if your code explicitly imports specific TypeDefs from `mypy_boto3_partnercentral_channel.type_defs`.fixReview your imports and usage of `TypeDef` objects; consult the official `mypy-boto3-builder` documentation for the new naming patterns or rely on IDE autocompletion.
affects: mypy-boto3-partnercentral-channel >=1.42.0 (corresponding to mypy-boto3-builder >=8.9.0)
gotchaThese packages provide type stubs only. They do not contain any runtime code and must be used alongside the actual `boto3` library. Installing `mypy-boto3-partnercentral-channel` without `boto3` will result in runtime errors.fixEnsure `boto3` is installed in your environment (`pip install boto3`).
affects: All versions
gotchaThe `mypy-boto3` ecosystem migrated to PEP 561-compliant packages. While this generally improves compatibility with type checkers, in rare cases with older MyPy versions or unusual project setups, you might need to ensure your type checker correctly discovers these stubs.fixEnsure your type checker (e.g., MyPy) is up-to-date. If issues persist, verify your `pyproject.toml` or MyPy configuration for package discovery.
affects: All versions generated by mypy-boto3-builder >=8.12.0
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the underlying AWS SDK runtime for which these are type stubs.
typing-extensionsoptionalMay be required for full compatibility with older Python versions (<3.10) for advanced type features.