Type annotations for boto3.ImportExport 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-importexport
Type annotations for boto3.ImportExport 1.14.0 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.4.
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 ImportExport
service.
python -m pip install boto3-stubs[importexport]
Use boto3
with mypy_boto3_importexport
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_importexport import ImportExportClient
# Now mypy can check if your code is valid.
client: ImportExportClient = boto3.client("importexport")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ImportExportClient = session.client("importexport")
# Annotated paginators are included as well
import mypy_boto3_importexport.paginator as importexport_paginators
list_jobs_paginator: importexport_paginators.ListJobsPaginator = client.get_paginator("list_jobs")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_importexport
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
import boto3
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("importexport")
session_client = boto3.Session().client("importexport")
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-importexport-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 381b174f904468b2c853d9041e0affbacc9d0c6719e08513069e034573ab117a |
|
MD5 | cdfc83f7e49f5a2ce2047b232b23862e |
|
BLAKE2b-256 | afb45e7c777312919ef8b5e901f6b80a60b10077f6192a1ac6cd6843829c21b5 |
Hashes for mypy_boto3_importexport-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 933ff014144a4440d210618d5a45a9511bd1a0363f703b1c1c79855280ac64a7 |
|
MD5 | 604ef4efbba4db3c1a038d0b710f5eb5 |
|
BLAKE2b-256 | 27f37aecb6741a3adf353bc01ae6dcaeede7bde7c19c8ec2f40710d232591f02 |