Type annotations for boto3.IdentityStore 1.14.53 service, generated by mypy-boto3-buider 2.4.0
Project description
mypy-boto3-identitystore
Type annotations for boto3.IdentityStore 1.14.53 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.4.0.
More information can be found on boto3-stubs page.
How to install
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for IdentityStore
service.
python -m pip install boto3-stubs[identitystore]
How to use
Client annotations
IdentityStoreClient
provides annotations for boto3.client("identitystore")
.
import boto3
from mypy_boto3_identitystore import IdentityStoreClient
from mypy_boto3_identitystore.type_defs import GroupTypeDef, ...
client: IdentityStoreClient = boto3.client("identitystore")
# now client usage is checked by mypy and IDE should provide code auto-complete
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: IdentityStoreClient = session.client("identitystore")
Typed dictionations
mypy_boto3_identitystore.type_defs
module contains structures and shapes assembled
to typed dictionaries for additional type checking.
def get_structure() -> GroupTypeDef:
return {
...
}
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_identitystore
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
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("identitystore")
session_client = boto3.Session().client("identitystore")
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-identitystore-1.14.53.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f898f104bde0d0cac04e8bf7c54d830f87a734d60f0210cd29cd9d913ae6157 |
|
MD5 | a68925ee0a0fb39e8a6ad87892ce2d0a |
|
BLAKE2b-256 | 8346bb1c127bfddbbad244246b0b7b5ee90063948249ce92197ebfbff38c7176 |
Hashes for mypy_boto3_identitystore-1.14.53.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a53160b8e0a2e9a1b759cddeeb7b6278f27d5b19233425656ffc06ddfa366503 |
|
MD5 | 7e1ccecb33490d6627d0eeb18b2e6b73 |
|
BLAKE2b-256 | 7272ec6e30fc6685a27b56426b39d478091a044ade4472251cc2b1f002f37b17 |