Skip to content

ManagedBlockchainQuery module#

Index > ManagedBlockchainQuery

Auto-generated documentation for ManagedBlockchainQuery type annotations stubs module mypy-boto3-managedblockchain-query.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and ManagedBlockchainQuery.

From PyPI with pip#

Install boto3-stubs for ManagedBlockchainQuery service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[managedblockchain-query]'


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


# standalone installation
python -m pip install mypy-boto3-managedblockchain-query

How to uninstall#

python -m pip uninstall -y mypy-boto3-managedblockchain-query

Usage#

Code samples can be found in Examples.

ManagedBlockchainQueryClient#

Type annotations and code completion for boto3.client("managedblockchain-query") as ManagedBlockchainQueryClient boto3 documentation

# ManagedBlockchainQueryClient usage example

from boto3.session import Session

from mypy_boto3_managedblockchain_query.client import ManagedBlockchainQueryClient

def get_client() -> ManagedBlockchainQueryClient:
    return Session().client("managedblockchain-query")

Paginators#

Type annotations and code completion for paginators from boto3.client("managedblockchain-query").get_paginator("...").

# ListAssetContractsPaginator usage example

from boto3.session import Session

from mypy_boto3_managedblockchain_query.paginator import ListAssetContractsPaginator

def get_list_asset_contracts_paginator() -> ListAssetContractsPaginator:
    return Session().client("managedblockchain-query").get_paginator("list_asset_contracts"))

Literals#

Type annotations for literals used in methods and schema.

# ConfirmationStatusType usage example

from mypy_boto3_managedblockchain_query.literals import ConfirmationStatusType

def get_value() -> ConfirmationStatusType:
    return "FINAL"

Type definitions#

Type annotations for type definitions used in methods and schema.