Type annotations for boto3.DynamoDBStreams 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-dynamodbstreams
Type annotations for boto3.DynamoDBStreams 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 DynamoDBStreams
service.
python -m pip install boto3-stubs[dynamodbstreams]
Use boto3
with mypy_boto3_dynamodbstreams
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_dynamodbstreams import DynamoDBStreamsClient
# Now mypy can check if your code is valid.
client: DynamoDBStreamsClient = boto3.client("dynamodbstreams")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: DynamoDBStreamsClient = session.client("dynamodbstreams")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_dynamodbstreams
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("dynamodbstreams")
session_client = boto3.Session().client("dynamodbstreams")
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-dynamodbstreams-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52fde67ac112e44ea96f21ec338c9eac4d39c96720fea0c08e3771e63a3e40f7 |
|
MD5 | e355ea0f99964b17742ab176b280bd8e |
|
BLAKE2b-256 | b5c38c72def32c60825c9474e2e06a35cd7a3a7fef9e8b36e9fe8f664cb5cb9f |
Hashes for mypy_boto3_dynamodbstreams-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a7501c2701245a6a648c1b5279503a90819f17119fcb35cb4a8dc62c0af135 |
|
MD5 | 0403cf42ec9699f2085688906839786f |
|
BLAKE2b-256 | 4c3df4ba48426a9cb6e92dfd5c8da5a7bfe73ec9a49df60e86b37df9acf15124 |