Type annotations for boto3.TranscribeService 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-transcribe
Type annotations for boto3.TranscribeService 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 TranscribeService
service.
python -m pip install boto3-stubs[transcribe]
Use boto3
with mypy_boto3_transcribe
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_transcribe import TranscribeServiceClient
# Now mypy can check if your code is valid.
client: TranscribeServiceClient = boto3.client("transcribe")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: TranscribeServiceClient = session.client("transcribe")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_transcribe
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("transcribe")
session_client = boto3.Session().client("transcribe")
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-transcribe-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eafc0ff56e4767e72d7b82f4d559576cb2309b27850b2ec436c2e9275e13cd5 |
|
MD5 | 7afd5cff7a534e9f8b6515734db7aaec |
|
BLAKE2b-256 | e9306f076d4a9bd146ef7acf7ea2d69ebda978645490552b9d62bdd1bfb3224d |
Hashes for mypy_boto3_transcribe-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d6dd7bfcdc6e18e9eb4b62e93b5d8cd14a6af75006081f246e241d79c06d8f |
|
MD5 | 8797745b5d9d6047210a65c35ea47384 |
|
BLAKE2b-256 | ddb1500d6ac9b723859344668e8fa4da2161d822131402b6c032c006fee82749 |