Registry / type-stubs / mypy-boto3-emr-serverless

mypy-boto3-emr-serverless

JSON →
library1.43.24pypypi✓ verified 23d ago

mypy-boto3-emr-serverless provides type annotations (stubs) for the boto3 EMRServerless client, enabling static type checking with tools like MyPy. It ensures type safety and autocompletion for EMR Serverless operations when using boto3. The package is generated by `mypy-boto3-builder` and is updated frequently, often in sync with boto3/botocore releases.

pip install mypy-boto3-emr-serverless boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-EMR-SER
M
mypy-boto3-emr-serverless
type-stubspythonv1.43.24
Install
3.9s avg
Import
593ms
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.24 · 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.622s · 52MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.564s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

EMRServerlessClient
from mypy_boto3_emr_serverless.client import EMRServerlessClient
ListApplicationsPaginator
from mypy_boto3_emr_serverless.paginator import ListApplicationsPaginator
ApplicationStateTypeDef
from mypy_boto3_emr_serverless.type_defs import ApplicationStateTypeDef

This example demonstrates how to use `mypy-boto3-emr-serverless` for type-hinting a boto3 EMR Serverless client. The type import is guarded by `TYPE_CHECKING` to ensure it's only active during static analysis and does not affect runtime, as `mypy-boto3` packages are purely for type stubs.

import boto3 from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_emr_serverless.client import EMRServerlessClient from mypy_boto3_emr_serverless.type_defs import ListApplicationsOutputTypeDef def get_emr_serverless_applications() -> None: client: EMRServerlessClient = boto3.client("emr-serverless") response: ListApplicationsOutputTypeDef = client.list_applications() print(f"Found {len(response['applications'])} EMR Serverless applications.") for app in response.get('applications', []): print(f"- {app['name']} (State: {app['state']})") if __name__ == "__main__": get_emr_serverless_applications()
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generated `mypy-boto3-emr-serverless` 1.42.23+), support for Python 3.8 has been removed. Projects using these stubs must target Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or higher.
affects: >=1.42.23
breakingAll `mypy-boto3` packages, including `mypy-boto3-emr-serverless`, migrated to PEP 561 distribution format with `mypy-boto3-builder` version 8.12.0. While typically seamless, this might affect how certain tooling or custom environments discover type stubs.
fix
Ensure your development environment (e.g., IDE, custom build scripts) is compatible with standard PEP 561 package layouts. No action is usually needed for default `mypy` usage.
affects: >=1.42.23
gotcha`mypy-boto3-emr-serverless` provides only type stubs for static analysis. It should *not* be imported or used at runtime. The actual EMR Serverless client functionality comes from `boto3`.
fix
Only import types from `mypy_boto3_emr_serverless` packages within `if TYPE_CHECKING:` blocks or for annotations that are only consumed by static analyzers. Always use `boto3.client('emr-serverless')` for runtime operations.
affects: all
gotchaFrom `mypy-boto3-builder` version 8.9.0, some TypeDef names were changed for consistency (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). While not specific to EMR Serverless, this pattern might lead to breaking changes in type references for other services or if future EMR Serverless TypeDefs follow a similar pattern.
fix
Consult the `mypy-boto3` documentation or your type checker's errors for updated TypeDef names if you encounter issues after upgrading. IDE auto-completion can also help discover correct types.
affects: >=1.42.0
Upgrade
Version history
1.43.24latest on PyPI · released Jun 5, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; boto3 itself is required for runtime functionality.
mypyrequiredType checker that consumes these stubs for static analysis.
Agent activity
17 hits · last 30 days
node
12
Amazon
2
OpenAI (training)
1
Resources
mypy-boto3-emr-serverless — pip install mypy-boto3-emr-serverless · libregistry