Type annotations for boto3.ElasticTranscoder 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-elastictranscoder
Type annotations for boto3.ElasticTranscoder 1.14.0 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 ElasticTranscoder
service.
python -m pip install boto3-stubs[elastictranscoder]
Use boto3
with mypy_boto3_elastictranscoder
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_elastictranscoder import ElasticTranscoderClient
# Now mypy can check if your code is valid.
client: ElasticTranscoderClient = boto3.client("elastictranscoder")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ElasticTranscoderClient = session.client("elastictranscoder")
# Waiters are also supported
import mypy_boto3_elastictranscoder.waiter as elastictranscoder_waiters
job_complete_waiter: elastictranscoder_waiters.JobCompleteWaiter = client.get_waiter("job_complete")
# Annotated paginators are included as well
import mypy_boto3_elastictranscoder.paginator as elastictranscoder_paginators
list_jobs_by_pipeline_paginator: elastictranscoder_paginators.ListJobsByPipelinePaginator = client.get_paginator("list_jobs_by_pipeline")
list_jobs_by_status_paginator: elastictranscoder_paginators.ListJobsByStatusPaginator = client.get_paginator("list_jobs_by_status")
list_pipelines_paginator: elastictranscoder_paginators.ListPipelinesPaginator = client.get_paginator("list_pipelines")
list_presets_paginator: elastictranscoder_paginators.ListPresetsPaginator = client.get_paginator("list_presets")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_elastictranscoder
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("elastictranscoder")
session_client = boto3.Session().client("elastictranscoder")
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-elastictranscoder-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9335b987145fb503cfd39be19f2095afe5397ffd10f7beffb1e94ca02ceaf434 |
|
MD5 | 02ece230db5d14a6863ad7c17bf54dbf |
|
BLAKE2b-256 | 34f98cd192f049914fcc2a8d0d92e06845a12c3ca480675b6e90d9322d249a26 |
Hashes for mypy_boto3_elastictranscoder-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9f765ec6dd9e1db524a8d779c6ccf172926d54f797990dc4c4d99665b9da42 |
|
MD5 | 152b4993d2ba669278c2699405ed9ece |
|
BLAKE2b-256 | cfbb58cca1c3957de07657a13094c30d962034ffec9fbc7e014542e2a3bede46 |