Type annotations for boto3.PinpointSMSVoice 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-pinpoint-sms-voice
Type annotations for boto3.PinpointSMSVoice 1.13.24 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.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a0a59c17f08acba1cf7f723f8e5105ddb79a4a26fdea3e919d87745e0c5ef97 |
|
MD5 | cbfc38f1eb72769d48d4da9d7bfd532b |
|
BLAKE2b-256 | 526bd20dca46f2c4a890c7443ff3b850676f29bc541d2dc9b9379f09756a5873 |
Hashes for mypy_boto3_pinpoint_sms_voice-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781b96c8c68e2d94d9be430a673540aa2c7de13a8a73e884a7ce20ac91587bd3 |
|
MD5 | bb167f6d9af282d1130f50ca4c39bef0 |
|
BLAKE2b-256 | 06440f9bb505b669e7251e412d48b72af44969f6f3125055bb2538cbfde91c06 |