Type annotations for boto3.SSOOIDC 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-sso-oidc
Type annotations for boto3.SSOOIDC 1.14.0 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 SSOOIDC
service.
python -m pip install boto3-stubs[sso-oidc]
Use boto3
with mypy_boto3_sso_oidc
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_sso_oidc import SSOOIDCClient
# Now mypy can check if your code is valid.
client: SSOOIDCClient = boto3.client("sso-oidc")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: SSOOIDCClient = session.client("sso-oidc")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_sso_oidc
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("sso-oidc")
session_client = boto3.Session().client("sso-oidc")
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-sso-oidc-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6714b1ebb129e7663dafbef65e545ecc4683bf2fddcdf10ef4c3d762a9dce2db |
|
MD5 | a1274c6877755ec05d192a10a2a59676 |
|
BLAKE2b-256 | fb8f2030d5cc52a0d10badf2d1027a42a2fb977e3908228f579923c00a46d50d |
Hashes for mypy_boto3_sso_oidc-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d0922e8883ab90856be637228f905572537f65a9d5c759c5258b4de8771402 |
|
MD5 | ef4533957f7d945c7b887bf93aa8f4c5 |
|
BLAKE2b-256 | 3f138b694500f1a20891919598a6cfb0654c3570a779bb4c48efe31cd0959280 |