Registry / type-stubs / mypy-boto3-sso-oidc

mypy-boto3-sso-oidc

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-sso-oidc provides a complete set of type annotations for the boto3 SSOOIDC client, enabling static type checking with tools like mypy. It's part of the `mypy-boto3` ecosystem, which generates stubs for all boto3 services. The package version typically aligns with the boto3 version it types, leading to frequent updates tied to boto3 releases and `mypy-boto3-builder` enhancements.

pip install mypy-boto3-sso-oidc boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-SSO-OID
M
mypy-boto3-sso-oidc
type-stubspythonv1.43.0
Install
3.9s avg
Import
580ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.616s · 51.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.544s · 52MB
50MB installed
● package 50MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SSOOIDCClient
from mypy_boto3_sso_oidc.client import SSOOIDCClient
SSOOIDCServiceResource
from mypy_boto3_sso_oidc.service_resource import SSOOIDCServiceResource
CreateTokenRequestRequestTypeDef
from mypy_boto3_sso_oidc.type_defs import CreateTokenRequestRequestTypeDef
from mypy_boto3_sso_oidc.type_defs import CreateTokenRequestTypeDef
TypeDef names might have changed in builder v8.9.0+. While some TypeDefs were shortened, 'CreateTokenRequestRequestTypeDef' specifically retains the longer name in current versions. Always verify TypeDef names from the stub files or official docs.

Demonstrates how to instantiate a boto3 SSOOIDC client and apply the type hints provided by `mypy-boto3-sso-oidc`. The `if TYPE_CHECKING:` block is a standard pattern to isolate type-only imports, preventing them from causing runtime issues or unnecessary dependencies.

import boto3 from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_sso_oidc.client import SSOOIDCClient from mypy_boto3_sso_oidc.type_defs import StartDeviceAuthorizationResponseTypeDef # Instantiate a boto3 client (runtime) client = boto3.client("sso-oidc") # Use type hints for static analysis # The 'if TYPE_CHECKING:' block ensures these imports are only for type checkers # and do not create runtime dependencies. if TYPE_CHECKING: sso_oidc_client: SSOOIDCClient = client # Example usage with type-hinted client # Replace placeholders with actual values for a runnable example response: StartDeviceAuthorizationResponseTypeDef = sso_oidc_client.start_device_authorization( clientCode='YOUR_CLIENT_CODE', startUrl='https://example.com' ) print(f"Device Code: {response.get('deviceCode')}") print("Boto3 SSOOIDC client created and type-hinted successfully (check with mypy)")
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generated `mypy-boto3` packages like `1.42.x`+), Python 3.8 is no longer supported for any generated stub packages. This affects users running Python 3.8 environments.
fix
Upgrade your Python environment to version 3.9 or newer to continue receiving type stub updates.
affects: mypy-boto3-builder >= 8.12.0, mypy-boto3-sso-oidc >= 1.42.0
gotchaThe `mypy-boto3` ecosystem migrated to PEP 561-compliant packages (marked with `py.typed`) in `mypy-boto3-builder` 8.12.0. While this is generally beneficial for type discovery, ensure your `mypy` version is up-to-date to correctly discover these new-style stubs, especially if you had custom stub paths or configurations.
fix
Update `mypy` to its latest stable version (`pip install --upgrade mypy`). If issues persist, review your `mypy` configuration (e.g., `mypy.ini`) for any conflicting settings.
affects: mypy-boto3-builder >= 8.12.0, mypy-boto3-sso-oidc >= 1.42.0
breakingSome TypeDef names, particularly for request/response payloads, underwent breaking changes (shortened or reordered) in `mypy-boto3-builder` 8.9.0. For example, `CreateDistributionRequestRequestTypeDef` was shortened to `CreateDistributionRequestTypeDef` (though specific name changes vary by service). Code relying on older stub versions might require updating TypeDef names.
fix
Consult the specific service's `type_defs.pyi` file (within the installed stub package) or `mypy-boto3` release notes to identify the correct TypeDef names if you encounter `NameError` or `ImportError`.
affects: mypy-boto3-builder >= 8.9.0, mypy-boto3-sso-oidc versions generated by these builder versions (e.g., from ~1.38.0 onwards)
gotchaService names and their corresponding `mypy-boto3` package names can change or be deprecated, mirroring changes in AWS or `boto3`. For instance, the `sms-voice` service was removed in builder 8.11.0. While `sso-oidc` is currently stable, be aware of this pattern for other services or potential future changes.
fix
Always check the latest `mypy-boto3-builder` release notes or `mypy-boto3` documentation if a service seems to be missing or renamed, especially after updating `boto3` or `mypy-boto3` packages.
affects: All versions of mypy-boto3-builder and generated packages
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredRuntime dependency for the type stubs to be useful.
mypyrequiredType checker to leverage the stubs.
Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources
mypy-boto3-sso-oidc — pip install mypy-boto3-sso-oidc · libregistry