Skip to content

Braket module

Index > Braket

Auto-generated documentation for Braket type annotations stubs module types-aiobotocore-braket.

How to install

From PyPI with pip

Install types-aioboto3 for Braket service.

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


# 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[braket]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

BraketClient

Type annotations and code completion for session.client("braket") as BraketClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_braket.client import BraketClient


session = Session()
async with session.client("braket") as client:
    client: BraketClient

Paginators

Type annotations and code completion for paginators from session.client("braket").get_paginator("...").

Usage example
from types_aiobotocore_braket.paginator import SearchDevicesPaginator

def get_search_devices_paginator() -> SearchDevicesPaginator:
    return client.get_paginator("search_devices"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_braket.literals import CancellationStatusType

def get_value() -> CancellationStatusType:
    return "CANCELLED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_braket.type_defs import ContainerImageTypeDef

def get_value() -> ContainerImageTypeDef:
    return {
        "uri": ...,
    }