Type annotations for boto3.IdentityStore 1.14.52 service, generated by mypy-boto3-buider 2.4.0
Project description
mypy-boto3-identitystore
Type annotations for boto3.IdentityStore 1.14.52 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.52.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d6b956b46c239e5141fe5be39ebccdd8d8322f6fcc38a78115b495d6d9b0dbc |
|
MD5 | 3bce44bb128b3304537643f21bdf0117 |
|
BLAKE2b-256 | 13790b01439d2e39125ef5fe46e1e09dd14949f85cbe3c0393bf9957ec20e323 |
Hashes for mypy_boto3_identitystore-1.14.52.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb478f35b9879142c04f0c923144427be776715c73a9d8002e73917bd87a375 |
|
MD5 | df64c4db26bc30599196c14735723e03 |
|
BLAKE2b-256 | cba22feade83aff2225ed27fa936dee327bd907dd21e2059b20c56500ae1fc56 |