Type annotations for boto3.AppConfig 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-appconfig
Type annotations for boto3.AppConfig 1.13.24 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.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc578a3b77ce1ba01a8f71e4a2e4c7e7cad0f777b45a7fc06013cbb4d1162d5 |
|
MD5 | 00da4ec66ff0ae2a0983685120c5bd3f |
|
BLAKE2b-256 | ef6ff894d795d33918887cbd5082bd26ab73670ae9c0a2806b3464d42813eb3a |
Hashes for mypy_boto3_appconfig-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0e05212992f6e98c9890a3468f9592819a509704e4e7d141750bf80b1c19ff |
|
MD5 | f3c62887892d9477509610b3b74b0f7d |
|
BLAKE2b-256 | b847bd69c25701ccc8f08ef20281d4083656eb71830c18599788bd75c2ecf303 |