Type annotations for boto3.ConnectParticipant 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-connectparticipant
Type annotations for boto3.ConnectParticipant 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 ConnectParticipant
service.
python -m pip install boto3-stubs[connectparticipant]
Use boto3
with mypy_boto3_connectparticipant
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_connectparticipant import ConnectParticipantClient
# Now mypy can check if your code is valid.
client: ConnectParticipantClient = boto3.client("connectparticipant")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ConnectParticipantClient = session.client("connectparticipant")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_connectparticipant
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("connectparticipant")
session_client = boto3.Session().client("connectparticipant")
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-connectparticipant-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf18885767f64a3c438169dfe1c6b18e3eeb35053577573452977930bab8c9f8 |
|
MD5 | 2dc7623d87bbc54382290a8796f56252 |
|
BLAKE2b-256 | 674030696243edc41fb1b3879f0f78e15ce4ed712f6befd00849efb4264c4466 |
Hashes for mypy_boto3_connectparticipant-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd47117db4ac50690fcb77db852acf9f720b4f32b7f1526bf53d8ae87b881e07 |
|
MD5 | 4a492a30919534d5487084000c5ff969 |
|
BLAKE2b-256 | 0fc2ef16c0f6efb1767026ce5ad66e49bd7154b36add77660bd11c3d515d9587 |