Type annotations for boto3.MediaStore 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-mediastore
Type annotations for boto3.MediaStore 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 MediaStore
service.
python -m pip install boto3-stubs[mediastore]
Use boto3
with mypy_boto3_mediastore
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_mediastore import MediaStoreClient
# Now mypy can check if your code is valid.
client: MediaStoreClient = boto3.client("mediastore")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: MediaStoreClient = session.client("mediastore")
# Annotated paginators are included as well
import mypy_boto3_mediastore.paginator as mediastore_paginators
list_containers_paginator: mediastore_paginators.ListContainersPaginator = client.get_paginator("list_containers")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_mediastore
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("mediastore")
session_client = boto3.Session().client("mediastore")
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-mediastore-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d7cf817c4230e76af7512bda5ff8c51f4feab65aa992ee75cbbd1fd4461813 |
|
MD5 | 6506ed76682e546cf014bfc3bd6f5990 |
|
BLAKE2b-256 | 07f80cc7160bae2fc7f94f2067b855af645b2075f7493046699d750cf858fc4b |
Hashes for mypy_boto3_mediastore-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55353ad04d4dd72f5fbd83ca3ce6fc66d312c7d8d44f114e991e61c2b5bb22a |
|
MD5 | 8ace8a075f10f8c04d47fe326a6cfb17 |
|
BLAKE2b-256 | 5dc7614781237bc9f0f24aac2a616fbc94807330eacf26a07ce751eb1e8ab799 |