Type annotations for boto3.PinpointSMSVoice 1.13.26 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-pinpoint-sms-voice
Type annotations for boto3.PinpointSMSVoice 1.13.26 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.26.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6476d9a56e7e0d800ac72ac811a181a5204a2d0cccc9b5484f19a2a0e58a16ec |
|
MD5 | 349425d0dedede3f7243e6758c2e34ae |
|
BLAKE2b-256 | 0d38ede8a4c289a3fa58334e314d02e35c1a6bcbbefb7e38e7da6a986290453a |
Hashes for mypy_boto3_pinpoint_sms_voice-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda027c43bc99482bca2fe2db46d284727f611fb8dc65ada4092384edb99d123 |
|
MD5 | e6ebf6c55fffbc77e40909b4a0a257eb |
|
BLAKE2b-256 | 7af59760dd51354e0e218e55a9cb77730dce646af27d502b990be4d021a099b5 |