Skip to main content

Type annotations for boto3.ManagedBlockchain 1.16.2 service, generated by mypy-boto3-buider 3.2.1

Project description

mypy-boto3-managedblockchain

PyPI - mypy-boto3-managedblockchain PyPI - Python Version Docs

Type annotations for boto3.ManagedBlockchain 1.16.2 service compatible with VSCode, PyCharm, mypy, pyright and other tools.

Generated by mypy-boto3-buider 3.2.1.

More information can be found on boto3-stubs page.

How to install

Install boto3-stubs for ManagedBlockchain service.

python -m pip install boto3-stubs[managedblockchain]

Usage

VSCode

  • Install Python extension
  • Install Pylance extension
  • Set Pylance as your Python Language Server
  • Install boto-stubs[managedblockchain] in your environment: python -m pip install 'boto3-stubs[managedblockchain]'

Both type checking and auto-complete should work for ManagedBlockchain service. No explicit type annotations required, write your boto3 code as usual.

PyCharm

  • Install boto-stubs[managedblockchain] in your environment: python -m pip install 'boto3-stubs[managedblockchain]'

Both type checking and auto-complete should work for ManagedBlockchain service. No explicit type annotations required, write your boto3 code as usual. Auto-complete can be slow on big projects or if you have a lot of installed boto3-stubs submodules.

Other IDEs

Not tested, but as long as your IDE support mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto-stubs[managedblockchain] in your environment: python -m pip install 'boto3-stubs[managedblockchain]'
  • Run mypy as usual

Type checking should work for ManagedBlockchain service. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: yarn global add pyright
  • Install boto-stubs[managedblockchain] in your environment: python -m pip install 'boto3-stubs[managedblockchain]'
  • Optionally, you can install boto3-stubs to typings folder.

Type checking should work for ManagedBlockchain service. No explicit type annotations required, write your boto3 code as usual.

Explicit type annotations

Client annotations

ManagedBlockchainClient provides annotations for boto3.client("managedblockchain").

import boto3

from mypy_boto3_managedblockchain import ManagedBlockchainClient

client: ManagedBlockchainClient = boto3.client("managedblockchain")

# now client usage is checked by mypy and IDE should provide code auto-complete

# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ManagedBlockchainClient = session.client("managedblockchain")

Typed dictionations

mypy_boto3_managedblockchain.type_defs module contains structures and shapes assembled to typed dictionaries for additional type checking.

from mypy_boto3_managedblockchain.type_defs import (
    ApprovalThresholdPolicyTypeDef,
    CreateMemberOutputTypeDef,
    CreateNetworkOutputTypeDef,
    CreateNodeOutputTypeDef,
    CreateProposalOutputTypeDef,
    GetMemberOutputTypeDef,
    GetNetworkOutputTypeDef,
    GetNodeOutputTypeDef,
    GetProposalOutputTypeDef,
    InvitationTypeDef,
    InviteActionTypeDef,
    ListInvitationsOutputTypeDef,
    ListMembersOutputTypeDef,
    ListNetworksOutputTypeDef,
    ListNodesOutputTypeDef,
    ListProposalsOutputTypeDef,
    ListProposalVotesOutputTypeDef,
    LogConfigurationsTypeDef,
    LogConfigurationTypeDef,
    MemberConfigurationTypeDef,
    MemberFabricAttributesTypeDef,
    MemberFabricConfigurationTypeDef,
    MemberFabricLogPublishingConfigurationTypeDef,
    MemberFrameworkAttributesTypeDef,
    MemberFrameworkConfigurationTypeDef,
    MemberLogPublishingConfigurationTypeDef,
    MemberSummaryTypeDef,
    MemberTypeDef,
    NetworkFabricAttributesTypeDef,
    NetworkFabricConfigurationTypeDef,
    NetworkFrameworkAttributesTypeDef,
    NetworkFrameworkConfigurationTypeDef,
    NetworkSummaryTypeDef,
    NetworkTypeDef,
    NodeConfigurationTypeDef,
    NodeFabricAttributesTypeDef,
    NodeFabricLogPublishingConfigurationTypeDef,
    NodeFrameworkAttributesTypeDef,
    NodeLogPublishingConfigurationTypeDef,
    NodeSummaryTypeDef,
    NodeTypeDef,
    ProposalActionsTypeDef,
    ProposalSummaryTypeDef,
    ProposalTypeDef,
    RemoveActionTypeDef,
    ResponseMetadata,
    VoteSummaryTypeDef,
    VotingPolicyTypeDef,
)

def get_structure() -> ApprovalThresholdPolicyTypeDef:
    return {
      ...
    }

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypy-boto3-managedblockchain-1.16.2.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_managedblockchain-1.16.2.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-managedblockchain-1.16.2.0.tar.gz.

File metadata

  • Download URL: mypy-boto3-managedblockchain-1.16.2.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for mypy-boto3-managedblockchain-1.16.2.0.tar.gz
Algorithm Hash digest
SHA256 698fc707bccbed1e65a936ad58abbcb16918bb4e2ef4311f78268df4bb29b93f
MD5 0d99e984bf3513c307d3982c42f5ab27
BLAKE2b-256 ec43648a98be840fcd16767455941febbb515a640e219cd4452357565584ad09

See more details on using hashes here.

File details

Details for the file mypy_boto3_managedblockchain-1.16.2.0-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_managedblockchain-1.16.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for mypy_boto3_managedblockchain-1.16.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ca7843157c91031ce53af7a230fcc62b955f88e3b93dbc275a7b015c74b42c1
MD5 08789f46f1c963580dbf3c9d71425672
BLAKE2b-256 61f4dc36b21d9429a12508db1b9e21c4b7078a12cd0207e78b84edddb30a54d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page