Type annotations for boto3.QLDBSession 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-qldb-session
Type annotations for boto3.QLDBSession 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 QLDBSession
service.
python -m pip install boto3-stubs[qldb-session]
Use boto3
with mypy_boto3_qldb_session
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_qldb_session import QLDBSessionClient
# Now mypy can check if your code is valid.
client: QLDBSessionClient = boto3.client("qldb-session")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: QLDBSessionClient = session.client("qldb-session")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_qldb_session
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("qldb-session")
session_client = boto3.Session().client("qldb-session")
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-qldb-session-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713486267727f6550623d1eb20963c072349db4f6e16e1d824a08c9232c21309 |
|
MD5 | 830a8102e8e8c6aeb1eff3a5445ee04d |
|
BLAKE2b-256 | b0a0ee152aa2a82efae441bdb0b4325ec9b0f89d89a55272b6c7b4e5cf54e04e |
Hashes for mypy_boto3_qldb_session-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399671ad3f962dc52f7d63feb30aebfb6ce39747645203bcd37d5f6468976199 |
|
MD5 | 7d0150bb35feb66d2df0e2362fbee4f4 |
|
BLAKE2b-256 | d149caed53fd387406f877ca1dbf3e124933b00e2d0c43f48b143fb3a656f486 |