Type annotations for boto3.DynamoDBStreams 1.13.26 service, generated by mypy-boto3-buider 2.0.2
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.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 DynamoDBStreams
service.
python -m pip install boto3-stubs[dynamodbstreams]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_dynamodbstreams
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_dynamodbstreams as dynamodbstreams
from mypy_boto3_dynamodbstreams import DynamoDBStreamsClient
# with these
from mypy_boto3 import dynamodbstreams
from mypy_boto3.dynamodbstreams import DynamoDBStreamsClient
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76cb213be78a4ccd4b8529ab12b4a6c0ea782315511a440f1fdab90a4374aa82 |
|
MD5 | 49ed4a7f0d8e3fd282a0f6627d6c249f |
|
BLAKE2b-256 | 6ab6222c8540491e8c20b46091e9f85ca10b077b3f774ccae6f61f2868e5e64f |
Hashes for mypy_boto3_dynamodbstreams-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57a6d2d6c6aa23f3df8978afe2a0829c57506f751dd947c70492631b4cdb7a9 |
|
MD5 | 42dac498972e631da63394641f158652 |
|
BLAKE2b-256 | 6b679ae34c07ea7736d10abc9508ec7d257b30d15256054b3566edc4fcbd7ac2 |