Type annotations for boto3.Honeycode 1.14.52 service, generated by mypy-boto3-buider 2.4.0
Project description
mypy-boto3-honeycode
Type annotations for boto3.Honeycode 1.14.52 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.52.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8a3c09495f66e4a20b1fd48e00de675eb44681cb16d02415b0d4c224bb2340 |
|
MD5 | b800dd775205d89c6526e7881676a712 |
|
BLAKE2b-256 | b883778846eb5647b499a0665546d52f61a7f90f5c6fd8019f0bc451f07f0bfd |
Hashes for mypy_boto3_honeycode-1.14.52.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6546be7c931c3c9d4607b41583011a064c837aa2e9beb8b17cc8731e6e48565b |
|
MD5 | b785dc7a63e4d719641645827f7389ae |
|
BLAKE2b-256 | 71cf94ef12bb9b0da09c62eeacf975ec7d058883fae40495517751d1b00f88d1 |