Registry /
type-stubs / types-aiobotocore-servicediscovery
Install & Compatibility
Where this runs
tested against v3.7.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 · 18.3MB
glibcpy 3.10–3.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.
ServiceDiscoveryClient
✓ from types_aiobotocore_servicediscovery import ServiceDiscoveryClient
✗ from aiobotocore.client import ServiceDiscoveryClient
Basic usage of aiobotocore ServiceDiscovery client with stubs for type-checking. Ensure you install aiobotocore separately: pip install aiobotocore
import asyncio
from aiobotocore.session import get_session
async def main():
session = get_session()
async with session.create_client('servicediscovery', region_name='us-east-1') as client:
# Example: list namespaces
response = await client.list_namespaces()
print(response)
if __name__ == '__main__':
asyncio.run(main())
Debug
Known issues
gotchaThis package provides type annotations only; you still need to install aiobotocore and botocore at runtime.fixInstall aiobotocore: pip install aiobotocore
affects: all
breakingVersion 8.12.0 removed Python 3.8 support (requires >=3.9).fixUpgrade to Python 3.9 or later.
affects: >=3.5.0 (generator 8.12.0+)
deprecatedTypeDefs with 'Request' suffix were shortened (breaking change in generator 8.9.0). For example, ListNamespacesRequestRequestTypeDef became ListNamespacesRequestTypeDef.fixCheck the updated type names in your stubs; use shorter names like ListNamespacesRequestTypeDef.
affects: generated with builder >=8.9.0 (version <3.5.0 affected)
gotchaThe stubs are generated for a specific aiobotocore version (3.5.0). Mismatched versions may cause type errors.fixEnsure types-aiobotocore-servicediscovery version matches aiobotocore major.minor version.
affects: all
Upgrade
Version history
3.7.0latest on PyPI · released May 10, 2026
Audit
Dependencies
typing-extensionsoptionalRequired for Python <3.11 typing features