Type annotations for boto3.AppConfig 1.13.26 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-appconfig
Type annotations for boto3.AppConfig 1.13.26 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.26.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9846a6688bc0756a6724caada780a1adc610a9b7d7e39c6f8fd4458a1405704b |
|
MD5 | eadb8ffd5e32223a66c90056c39326c5 |
|
BLAKE2b-256 | 0f5188dced2223f55f032630a3f087d3e3375bcf7068193726c274f74e270cd9 |
Hashes for mypy_boto3_appconfig-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d2014c9457fc12e3c447b3d6342410cb0b91ddaa2400c231dfa01c1750f9df8 |
|
MD5 | e10d783d52f15e6de1c465f7f789b0ed |
|
BLAKE2b-256 | c5ff3678c88738d8ffdad381c45136a20c9249ff8fb97d99f258913e54d7b62f |