Type annotations for boto3.Honeycode 1.14.54 service, generated by mypy-boto3-buider 2.4.0
Project description
mypy-boto3-honeycode
Type annotations for boto3.Honeycode 1.14.54 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.4.0.
More information can be found on boto3-stubs page.
How to install
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for Honeycode
service.
python -m pip install boto3-stubs[honeycode]
How to use
Client annotations
HoneycodeClient
provides annotations for boto3.client("honeycode")
.
import boto3
from mypy_boto3_honeycode import HoneycodeClient
from mypy_boto3_honeycode.type_defs import ColumnMetadataTypeDef, ...
client: HoneycodeClient = boto3.client("honeycode")
# 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: HoneycodeClient = session.client("honeycode")
Typed dictionations
mypy_boto3_honeycode.type_defs
module contains structures and shapes assembled
to typed dictionaries for additional type checking.
def get_structure() -> ColumnMetadataTypeDef:
return {
...
}
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_honeycode
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
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("honeycode")
session_client = boto3.Session().client("honeycode")
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-honeycode-1.14.54.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf34dffe14b88996771721b1e6d095e6835fec11fe86b07ddbe3e488be9d23e |
|
MD5 | a2b8ed78954bdbc29033aeafa6bcf9c6 |
|
BLAKE2b-256 | cd16b6289de601064063a8c1dc8ecc75338c2da0f90e8cdbc3338d4481b3a6fd |
Hashes for mypy_boto3_honeycode-1.14.54.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f901bff1c1da24b473e030a2aa9febba354340f377a048246192c7b24e5cfd72 |
|
MD5 | f7ac26610b55893d34a923027b69e668 |
|
BLAKE2b-256 | 86a9cf3f5b987dfd69f7d757cb185f4ca36dd86fc0103116a4eee85fb9dc9c0f |