{"id":3169,"library":"mypy-boto3-wisdom","title":"mypy-boto3-wisdom","description":"mypy-boto3-wisdom provides type annotations for the `boto3` ConnectWisdomService, ensuring static type checking and improved IDE auto-completion for AWS SDK operations. It is currently at version 1.42.3 and is actively maintained with frequent updates tied to `boto3` releases and the `mypy-boto3-builder` project.","status":"active","version":"1.42.3","language":"en","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["type-stubs","boto3","aws","mypy","static-analysis","connectwisdomservice"],"install":[{"cmd":"pip install mypy-boto3-wisdom","lang":"bash","label":"Install standalone stub package"}],"dependencies":[{"reason":"Provides type stubs for the boto3 library.","package":"boto3","optional":false},{"reason":"Requires Python 3.9 or newer.","package":"python","optional":false}],"imports":[{"symbol":"ConnectWisdomServiceClient","correct":"from mypy_boto3_wisdom import ConnectWisdomServiceClient"}],"quickstart":{"code":"import boto3\nfrom boto3.session import Session\nfrom mypy_boto3_wisdom import ConnectWisdomServiceClient\n\ndef get_wisdom_client() -> ConnectWisdomServiceClient:\n    session = Session()\n    client: ConnectWisdomServiceClient = session.client(\"wisdom\")\n    return client\n\n# Example usage:\nwisdom_client = get_wisdom_client()\nresponse = wisdom_client.list_assistants()\nprint(response)\n","lang":"python","description":"This example demonstrates how to import and use the `ConnectWisdomServiceClient` type annotation with a `boto3` session. This enables static type checking and improved auto-completion for Connect Wisdom Service operations."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or newer.","message":"Python 3.8 support was removed with `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 or older must upgrade their Python version to continue receiving updates.","severity":"breaking","affected_versions":">=8.12.0 of mypy-boto3-builder (and derived stub packages)"},{"fix":"Ensure your type checker (e.g., mypy) is configured to correctly find PEP 561 stub packages, typically by ensuring the package is installed in the environment where `mypy` runs.","message":"The `mypy-boto3` ecosystem migrated to PEP 561 compatible packages in `mypy-boto3-builder` version 8.12.0. This fundamentally changes how type checkers discover and use the stubs.","severity":"breaking","affected_versions":">=8.12.0 of mypy-boto3-builder (and derived stub packages)"},{"fix":"Update your explicit TypeDef references to reflect the shorter naming conventions. Consult the documentation for the specific service's TypeDefs.","message":"Starting with `mypy-boto3-builder` version 8.9.0, certain TypeDef names for packed method arguments were shortened (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). This can break existing type annotations if your code explicitly referenced these TypeDefs.","severity":"breaking","affected_versions":">=8.9.0 of mypy-boto3-builder (and derived stub packages)"},{"fix":"Consider installing `boto3-stubs-lite[wisdom]` instead, or disable PyCharm's internal type checker and use `mypy` or `pyright`.","message":"PyCharm users may experience slow performance or high CPU usage due to an issue with `Literal` overloads (PyCharm issue PY-40997) when using `boto3-stubs` or `mypy-boto3-*` packages. It is recommended to use `boto3-stubs-lite` (if applicable) or rely on external type checkers like Mypy/Pyright.","severity":"gotcha","affected_versions":"All versions of mypy-boto3-* packages when used with PyCharm's built-in type checker."}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}