Type annotations for boto3.AppConfig 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-appconfig
Type annotations for boto3.AppConfig 1.13.25 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.2.
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 AppConfig
service.
python -m pip install boto3-stubs[appconfig]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_appconfig
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_appconfig import AppConfigClient
# Now mypy can check if your code is valid.
client: AppConfigClient = boto3.client("appconfig")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: AppConfigClient = session.client("appconfig")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_appconfig
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
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 carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_appconfig as appconfig
from mypy_boto3_appconfig import AppConfigClient
# with these
from mypy_boto3 import appconfig
from mypy_boto3.appconfig import AppConfigClient
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-appconfig-1.13.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15387152b86976b0dbfa225909b985d8e5fd8187fdde5914d31f13172e1093df |
|
MD5 | 10715aa8c879e1d74c74bf9fc98a823a |
|
BLAKE2b-256 | 8abb6e20537f222ba7afa5ce580a41e64ed8968d8a51454892e1c7ab1f0fc68d |
Hashes for mypy_boto3_appconfig-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc4d6e02c2517114bdb4b1eb6703e34bb1b6c63b22a47146b912bea1ee966175 |
|
MD5 | 75108d13b9ba6ccee4b762cc3a553be7 |
|
BLAKE2b-256 | f97481873af5e4fb98f7f6f5c77aac0a06dc52343a4dc4449642144d4b74f5ad |