Type annotations for boto3.DynamoDBStreams 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-dynamodbstreams
Type annotations for boto3.DynamoDBStreams 1.13.24 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.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec8d315f0a2b4d49d6a442310084165fef82fb0c040feeb4684949bf30e996c |
|
MD5 | 69e1b16a68f91861811d941ef8419f28 |
|
BLAKE2b-256 | ef9c825fb2aefc84f05ad57da494c8fde2f22018c4fc4b1556afdeb2915ce8ff |
Hashes for mypy_boto3_dynamodbstreams-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90d32d4a0f405aade3e045e10b9c1d2e140f85bc7267515f8ebfd10ff1b2081f |
|
MD5 | ef522586a681a4e00c016aa6007b7eb0 |
|
BLAKE2b-256 | 0c0ef3faf57b2a62d82feca30cccf290c9ec01c0f3d652d21a38d368068580f7 |