Type annotations for boto3.KinesisVideoArchivedMedia 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-kinesis-video-archived-media
Type annotations for boto3.KinesisVideoArchivedMedia 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 KinesisVideoArchivedMedia
service.
python -m pip install boto3-stubs[kinesis-video-archived-media]
Use boto3
with mypy_boto3_kinesis_video_archived_media
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_kinesis_video_archived_media import KinesisVideoArchivedMediaClient
# Now mypy can check if your code is valid.
client: KinesisVideoArchivedMediaClient = boto3.client("kinesis-video-archived-media")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: KinesisVideoArchivedMediaClient = session.client("kinesis-video-archived-media")
# Annotated paginators are included as well
import mypy_boto3_kinesis_video_archived_media.paginator as kinesis_video_archived_media_paginators
list_fragments_paginator: kinesis_video_archived_media_paginators.ListFragmentsPaginator = client.get_paginator("list_fragments")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_kinesis_video_archived_media
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("kinesis-video-archived-media")
session_client = boto3.Session().client("kinesis-video-archived-media")
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-kinesis-video-archived-media-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c509b624e915dd32ee637127d3c1efa0b480a35273e2c26e93bb18748892b4b0 |
|
MD5 | e7c6297c5b64ceb07c43256c3950b9d6 |
|
BLAKE2b-256 | 95b9ead1747fff4912ad724a20e4a266155159f707c94141d82ee9c92c6223b5 |
Hashes for mypy_boto3_kinesis_video_archived_media-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 295e586d1dc56fa24c0a61351fd5c13b20accaed5a418385bec832e03469b483 |
|
MD5 | cc1a0b0780d1d9a6dd48b988a1981a12 |
|
BLAKE2b-256 | dbf4d0c3bcfd90d72c47df053ffa711c570a4274b9b26a4b45580797fe348563 |