Type annotations for boto3.PinpointSMSVoice 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-pinpoint-sms-voice
Type annotations for boto3.PinpointSMSVoice 1.13.25 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 PinpointSMSVoice
service.
python -m pip install boto3-stubs[pinpoint-sms-voice]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_pinpoint_sms_voice
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_pinpoint_sms_voice import PinpointSMSVoiceClient
# Now mypy can check if your code is valid.
client: PinpointSMSVoiceClient = boto3.client("pinpoint-sms-voice")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: PinpointSMSVoiceClient = session.client("pinpoint-sms-voice")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_pinpoint_sms_voice
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_pinpoint_sms_voice as pinpoint_sms_voice
from mypy_boto3_pinpoint_sms_voice import PinpointSMSVoiceClient
# with these
from mypy_boto3 import pinpoint_sms_voice
from mypy_boto3.pinpoint_sms_voice import PinpointSMSVoiceClient
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-pinpoint-sms-voice-1.13.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e142adf2b2622be524f6d4cc04656e1ef9d53674221b527f4db5cfd5bccc3762 |
|
MD5 | 22c46056cde30a884d13a0d8d411e5a8 |
|
BLAKE2b-256 | 47cff3b2bd814213c9567dc4f2c428dd728f4f72c499551c8bca0cd20307dc6e |
Hashes for mypy_boto3_pinpoint_sms_voice-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d28a0e4982e6b75a866eac106a781f0ee7986642f252134cfc7deb6e310d5b6 |
|
MD5 | 59cbc8b6048c15b09ea69368ec8efa43 |
|
BLAKE2b-256 | 26849eaf9748705806632cc01ba5d3d6f18612d15854d60b901c3c16d06bcabe |