Type annotations for boto3.MarketplaceCommerceAnalytics 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-marketplacecommerceanalytics
Type annotations for boto3.MarketplaceCommerceAnalytics 1.13.26 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 MarketplaceCommerceAnalytics
service.
python -m pip install boto3-stubs[marketplacecommerceanalytics]
Use boto3
with mypy_boto3_marketplacecommerceanalytics
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_marketplacecommerceanalytics import MarketplaceCommerceAnalyticsClient
# Now mypy can check if your code is valid.
client: MarketplaceCommerceAnalyticsClient = boto3.client("marketplacecommerceanalytics")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: MarketplaceCommerceAnalyticsClient = session.client("marketplacecommerceanalytics")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_marketplacecommerceanalytics
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("marketplacecommerceanalytics")
session_client = boto3.Session().client("marketplacecommerceanalytics")
Project details
None None None NoneRelease 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-marketplacecommerceanalytics-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab8d8b87a7606251f1ba4c36afbc4077beff07335cfb6909ae236e101951c52 |
|
MD5 | 938c2540ccdf33e7138e5c99608a9f7d |
|
BLAKE2b-256 | 010258ef828a3c82f2ea87cb934f31aff255ab7e758b773ac908eaa8a4d26963 |
Hashes for mypy_boto3_marketplacecommerceanalytics-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 886d142c1c0f9f11f048a3984a065c4171f346e2bba86d280f796fa8658b7ef1 |
|
MD5 | e5d1b56ccfcce436aa33ff9a1ded681f |
|
BLAKE2b-256 | 2efc4f24c6f2396db2eb52cc3465b11c6f2504bcc0f6c7f88aaf9c37396d004c |