Skip to content

PI module#

Index > PI

Auto-generated documentation for PI type annotations stubs module types-aiobotocore-pi.

How to install#

From PyPI with pip#

Install types-aioboto3 for PI service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[pi]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[pi]'


# standalone installation
python -m pip install types-aiobotocore-pi

How to uninstall#

python -m pip uninstall -y types-aiobotocore-pi

Usage#

Code samples can be found in Examples.

PIClient#

Type annotations and code completion for session.client("pi") as PIClient boto3 documentation

# PIClient usage example

from aioboto3.session import Session

from types_aiobotocore_pi.client import PIClient


session = Session()
async with session.client("pi") as client:
    client: PIClient

Literals#

Type annotations for literals used in methods and schema.

# AcceptLanguageType usage example

from types_aiobotocore_pi.literals import AcceptLanguageType

def get_value() -> AcceptLanguageType:
    return "EN_US"

Type definitions#

Type annotations for type definitions used in methods and schema.