Type annotations for boto3.PinpointSMSVoice 1.13.26 service, generated by mypy-boto3-buider 2.0.3
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.3.
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c1b4f5b8b6e8c8dc3abb642a5b7af4a4572d4596dab64b19a65214013190d7 |
|
MD5 | f6af8b5127fab0389073ec96b523b422 |
|
BLAKE2b-256 | 1e29d9d6d5da8b6ae45938fd6542706c809a99a19fb6d6d070a0196c8f580ca5 |
Hashes for mypy_boto3_pinpoint_sms_voice-1.13.26.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fb02e466b2d06b2a36b82b15984d8aa783ffb86a4be1564446faed6ade0aa1e |
|
MD5 | 4cfdf0c8f6967f681a91e45c32371453 |
|
BLAKE2b-256 | 00b7551e18bb7817887638aef014a1f0cfe9ca15f38b1d78ba2a198514af7c14 |