Type annotations for boto3.IdentityStore 1.15.4 service, generated by mypy-boto3-buider 3.1.0
Project description
mypy-boto3-identitystore
Type annotations for boto3.IdentityStore 1.15.4 service compatible with VSCode, PyCharm, mypy, pyright and other tools.
Generated by mypy-boto3-buider 3.1.0.
More information can be found on boto3-stubs page.
How to install
Install boto3-stubs
for IdentityStore
service.
python -m pip install boto3-stubs[identitystore]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[identitystore]
in your environment:python -m pip install 'boto3-stubs[identitystore]'
Both type checking and auto-complete should work for IdentityStore
service.
No explicit type annotations required, write your boto3
code as usual.
PyCharm
- Install
boto-stubs[identitystore]
in your environment:python -m pip install 'boto3-stubs[identitystore]'
Both type checking and auto-complete should work for IdentityStore
service.
No explicit type annotations required, write your boto3
code as usual.
Auto-complete can be slow on big projects or if you have a lot of installed boto3-stubs
submodules.
Other IDEs
Not tested, but as long as your IDE support mypy
or pyright
, everything should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
boto-stubs[identitystore]
in your environment:python -m pip install 'boto3-stubs[identitystore]'
- Run
mypy
as usual
Type checking should work for IdentityStore
service.
No explicit type annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[identitystore]
in your environment:python -m pip install 'boto3-stubs[identitystore]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for IdentityStore
service.
No explicit type annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
IdentityStoreClient
provides annotations for boto3.client("identitystore")
.
import boto3
from mypy_boto3_identitystore import IdentityStoreClient
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.
from mypy_boto3_identitystore.type_defs import (
DescribeGroupResponseTypeDef,
DescribeUserResponseTypeDef,
FilterTypeDef,
GroupTypeDef,
ListGroupsResponseTypeDef,
ListUsersResponseTypeDef,
UserTypeDef,
)
def get_structure() -> GroupTypeDef:
return {
...
}
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.15.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6451fa7486e3756b15536ed0bbf763bf88a546bc1daf61e84c6d1c60abc6fcd8 |
|
MD5 | 3fcca08a3f7f906556559ec76a51d90d |
|
BLAKE2b-256 | 2544af835c791cb7d6199beabf047b9b611e164db0b4a16139993c5654c326c1 |
Hashes for mypy_boto3_identitystore-1.15.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a2663d5f2a00c32a1a2dd545db3ed9b129fb387b0444e7f8057a0c68f4691de |
|
MD5 | 17da7e7c0600a05415571e206d13292c |
|
BLAKE2b-256 | 7a16e6e2671713325f142638a79d5b601bd4985a54f179e2bddab29d28fa9f72 |