Type annotations for boto3.ElasticTranscoder 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-elastictranscoder
Type annotations for boto3.ElasticTranscoder 1.13.25 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 ElasticTranscoder
service.
python -m pip install boto3-stubs[elastictranscoder]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_elastictranscoder
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_elastictranscoder as elastictranscoder
from mypy_boto3_elastictranscoder import ElasticTranscoderClient
# with these
from mypy_boto3 import elastictranscoder
from mypy_boto3.elastictranscoder import ElasticTranscoderClient
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.13.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5b2b971cb1f30ed3be0a621649c054082a0b9a5c4a02f5b9109e7cbd6e23d8 |
|
MD5 | 1d11eeccaea0019b4cbb498f3f12f5cd |
|
BLAKE2b-256 | b978ee6a2472941b4764dc7c3bee72c3e58402b5c437526d30bc621840db0baa |
Hashes for mypy_boto3_elastictranscoder-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da820bd6fb9bca7e049051fa7360ee78efa8f07ccac1a2e2d0cc7bab37d533e |
|
MD5 | 6244bba9e802cef9f9c16dae04da3e8a |
|
BLAKE2b-256 | 745b9a6085b9acba3b214fcaefdb7b893731fc35b7beee10733a74acb2dc2ef2 |