Type annotations for boto3.ManagedBlockchain 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-managedblockchain
Type annotations for boto3.ManagedBlockchain 1.14.0 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.4.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for ManagedBlockchain
service.
python -m pip install boto3-stubs[managedblockchain]
Use boto3
with mypy_boto3_managedblockchain
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_managedblockchain import ManagedBlockchainClient
# Now mypy can check if your code is valid.
client: ManagedBlockchainClient = boto3.client("managedblockchain")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ManagedBlockchainClient = session.client("managedblockchain")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_managedblockchain
and other installed services.
# Run this command after you add or remove service packages
python -m mypy_boto3
Generated type annotations provide overloads for boto3.client
and boto3.resource
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefully if you have many services installedVSCode
does not currently support function overloads, use explicit type annotations
import boto3
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("managedblockchain")
session_client = boto3.Session().client("managedblockchain")
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
Built Distribution
Hashes for mypy-boto3-managedblockchain-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d4fbfbfbd3b478b0e0f3aa71e839661397a63525012994dadff3b2e582a5a7 |
|
MD5 | ff78eb5f645a13f6474c9026908690af |
|
BLAKE2b-256 | 15d0e1b5f306f8ee327fb898b51bf104756f6fff39b5b1f1c115b7bee60fecac |
Hashes for mypy_boto3_managedblockchain-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698f2fc6c4b287b7d6efd65c1f62f20df6c8596d33b976d912a612c45af5708f |
|
MD5 | ce2ca2ceb33ce4d1be9e60d9246a50cd |
|
BLAKE2b-256 | b852221139a20a42f62967326cda2065a87b42e967ba25f91fadc85ab25687a6 |