Type annotations for boto3.WorkMailMessageFlow 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-workmailmessageflow
Type annotations for boto3.WorkMailMessageFlow 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 WorkMailMessageFlow
service.
python -m pip install boto3-stubs[workmailmessageflow]
Use boto3
with mypy_boto3_workmailmessageflow
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_workmailmessageflow import WorkMailMessageFlowClient
# Now mypy can check if your code is valid.
client: WorkMailMessageFlowClient = boto3.client("workmailmessageflow")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: WorkMailMessageFlowClient = session.client("workmailmessageflow")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_workmailmessageflow
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("workmailmessageflow")
session_client = boto3.Session().client("workmailmessageflow")
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-workmailmessageflow-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fde4f199e1fad77a17368a01b043498b113fdd774bfc4a9d23ef2e399fb5d32 |
|
MD5 | 2afb41edc796a4f281f387eb405a4128 |
|
BLAKE2b-256 | 1fecc6c737012155d0f1b767147e10b373048b8d0e7a2f5944d76721f46aa3a2 |
Hashes for mypy_boto3_workmailmessageflow-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3535feafd9a47af9980b6f17a9d41cf82562e400fd87a9df6bfb6e281ad11bb2 |
|
MD5 | a72938d0bfb3d05df8009c33f0589b22 |
|
BLAKE2b-256 | dd3d2491c421b4096de8b9e4801a4a16de62651b195b44a0c92bd3bcb1233158 |