Skip to main content

mypy-boto3-emr-containers

PyPI - mypy-boto3-emr-containers PyPI - Python Version Docs PyPI - Downloads

boto3.typed

Type annotations for boto3 EMRContainers 1.43.53 compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.

Generated with mypy-boto3-builder 8.12.0.

More information can be found on boto3-stubs page and in mypy-boto3-emr-containers docs.

See how it helps you find and fix potential bugs:

types-boto3 demo

How to install

Generate locally (recommended)

You can generate type annotations for boto3 package locally with mypy-boto3-builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'boto3==1.43.53' mypy-boto3-builder
  2. Select boto3-stubs AWS SDK.
  3. Add EMRContainers service.
  4. Use provided commands to install generated packages.

VSCode extension

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and EMRContainers.

From PyPI with pip

Install boto3-stubs for EMRContainers service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[emr-containers]'

# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[emr-containers]'

# standalone installation
python -m pip install mypy-boto3-emr-containers

How to uninstall

python -m pip uninstall -y mypy-boto3-emr-containers

Usage

VSCode

python -m pip install 'boto3-stubs[emr-containers]'

Both type checking and code completion should now work. No explicit type annotations required, write your boto3 code as usual.

PyCharm

⚠️ Due to slow PyCharm performance on Literal overloads (issue PY-40997), it is recommended to use boto3-stubs-lite until the issue is resolved.

⚠️ If you experience slow performance and high CPU usage, try to disable PyCharm type checker and use mypy or pyright instead.

⚠️ To continue using PyCharm type checker, you can try to replace boto3-stubs with boto3-stubs-lite:

pip uninstall boto3-stubs
pip install boto3-stubs-lite

Install boto3-stubs[emr-containers] in your environment:

python -m pip install 'boto3-stubs[emr-containers]'

Both type checking and code completion should now work.

Emacs

  • Install boto3-stubs with services you use in your environment:
python -m pip install 'boto3-stubs[emr-containers]'
(use-package lsp-pyright
  :ensure t
  :hook (python-mode . (lambda ()
                          (require 'lsp-pyright)
                          (lsp)))  ; or lsp-deferred
  :init (when (executable-find "python3")
          (setq lsp-pyright-python-executable-cmd "python3"))
  )
  • Make sure emacs uses the environment where you have installed boto3-stubs

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Sublime Text

  • Install boto3-stubs[emr-containers] with services you use in your environment:
python -m pip install 'boto3-stubs[emr-containers]'

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Other IDEs

Not tested, but as long as your IDE supports mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto3-stubs[emr-containers] in your environment:
python -m pip install 'boto3-stubs[emr-containers]'

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: npm i -g pyright
  • Install boto3-stubs[emr-containers] in your environment:
python -m pip install 'boto3-stubs[emr-containers]'

Optionally, you can install boto3-stubs to typings directory.

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Pylint compatibility

It is totally safe to use TYPE_CHECKING flag in order to avoid mypy-boto3-emr-containers dependency in production. However, there is an issue in pylint that it complains about undefined variables. To fix it, set all types to object in non-TYPE_CHECKING mode.

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
    from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
    from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
else:
    EC2Client = object
    EC2ServiceResource = object
    BundleTaskCompleteWaiter = object
    DescribeVolumesPaginator = object

...

Explicit type annotations

Client annotations

EMRContainersClient provides annotations for boto3.client("emr-containers").

from boto3.session import Session

from mypy_boto3_emr_containers import EMRContainersClient

client: EMRContainersClient = Session().client("emr-containers")

# now client usage is checked by mypy and IDE should provide code completion

Paginators annotations

mypy_boto3_emr_containers.paginator module contains type annotations for all paginators.

from boto3.session import Session

from mypy_boto3_emr_containers import EMRContainersClient
from mypy_boto3_emr_containers.paginator import (
    ListJobRunsPaginator,
    ListJobTemplatesPaginator,
    ListManagedEndpointsPaginator,
    ListSecurityConfigurationsPaginator,
    ListVirtualClustersPaginator,
)

client: EMRContainersClient = Session().client("emr-containers")

# Explicit type annotations are optional here
# Types should be correctly discovered by mypy and IDEs
list_job_runs_paginator: ListJobRunsPaginator = client.get_paginator("list_job_runs")
list_job_templates_paginator: ListJobTemplatesPaginator = client.get_paginator("list_job_templates")
list_managed_endpoints_paginator: ListManagedEndpointsPaginator = client.get_paginator(
    "list_managed_endpoints"
)
list_security_configurations_paginator: ListSecurityConfigurationsPaginator = client.get_paginator(
    "list_security_configurations"
)
list_virtual_clusters_paginator: ListVirtualClustersPaginator = client.get_paginator(
    "list_virtual_clusters"
)

Literals

mypy_boto3_emr_containers.literals module contains literals extracted from shapes that can be used in user code for type checking.

Full list of EMRContainers Literals can be found in docs.

from mypy_boto3_emr_containers.literals import AllowAWSToRetainLogsType


def check_value(value: AllowAWSToRetainLogsType) -> bool: ...

Type definitions

mypy_boto3_emr_containers.type_defs module contains structures and shapes assembled to typed dictionaries and unions for additional type checking.

Full list of EMRContainers TypeDefs can be found in docs.

# TypedDict usage example
from mypy_boto3_emr_containers.type_defs import IAMConfigurationTypeDef


def get_value() -> IAMConfigurationTypeDef:
    return {
        "systemRole": ...,
    }

How it works

Fully automated mypy-boto3-builder carefully generates type annotations for each service, patiently waiting for boto3 updates. It delivers drop-in type annotations for you and makes sure that:

  • All available boto3 services are covered.
  • Each public class and method of every boto3 service gets valid type annotations extracted from botocore schemas.
  • Type annotations include up-to-date documentation.
  • Link to documentation is provided for every method.
  • Code is processed by ruff for readability.

What's new

Implemented features

  • Fully type annotated boto3, botocore, aiobotocore and aioboto3 libraries
  • mypy, pyright, VSCode, PyCharm, Sublime Text and Emacs compatibility
  • Client, ServiceResource, Resource, Waiter Paginator type annotations for each service
  • Generated TypeDefs for each service
  • Generated Literals for each service
  • Auto discovery of types for boto3.client and boto3.resource calls
  • Auto discovery of types for session.client and session.resource calls
  • Auto discovery of types for client.get_waiter and client.get_paginator calls
  • Auto discovery of types for ServiceResource and Resource collections
  • Auto discovery of types for aiobotocore.Session.create_client calls

Latest changes

Builder changelog can be found in Releases.

Versioning

mypy-boto3-emr-containers version is the same as related boto3 version and follows Python Packaging version specifiers.

Thank you

Documentation

All services type annotations can be found in boto3 docs

Support and contributing

This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypy_boto3_emr_containers-1.43.53.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_emr_containers-1.43.53-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file mypy_boto3_emr_containers-1.43.53.tar.gz.

File metadata

File hashes

Hashes for mypy_boto3_emr_containers-1.43.53.tar.gz
Algorithm Hash digest
SHA256 78550001062af70d91c7f165dd5bfcb711b31446f61e7ab3ec9b9b3ab3e9f978
MD5 03abc65cf12e9e40a9fde71fb8e1acbb
BLAKE2b-256 d65f46d0fa870934a57b1641f0c66b1b72bf10bd15ebbc05027774973640c0b5

See more details on using hashes here.

File details

Details for the file mypy_boto3_emr_containers-1.43.53-py3-none-any.whl.

File metadata

File hashes

Hashes for mypy_boto3_emr_containers-1.43.53-py3-none-any.whl
Algorithm Hash digest
SHA256 4dbcb085a46e01feafd7554e6c72b2ae6c07ef1f2e9937c148827f9e0d2e3abd
MD5 236459152d9d866430a6ddbc45201723
BLAKE2b-256 5b46ca912dda11d750476b05cade1b2d8b0787b737a1065d53809e82b0fe36f9

See more details on using hashes here.

Release history Release notifications | RSS feed

1.43.57

2 files

This release

1.43.53 This release

2 files

1.43.48

2 files

1.43.0

2 files

1.42.3

2 files

1.41.0

2 files

1.40.61

2 files

1.40.29

2 files

1.40.17

2 files

1.40.0

2 files

1.39.0

2 files

1.38.0

2 files

1.37.0

2 files

1.36.23

2 files

1.36.0

2 files

1.35.93

2 files

1.35.4

2 files

1.35.0

2 files

1.34.91

2 files

1.34.78

2 files

1.34.70

2 files

1.34.0

2 files

1.33.0

2 files

1.29.0

2 files

1.28.36

2 files

1.28.16

2 files

1.28.15.post1

2 files

1.28.15

2 files

1.28.12

2 files

1.28.0

2 files

1.27.0

2 files

1.26.149

2 files

1.26.122

2 files

1.26.68

2 files

1.26.3

2 files

1.26.0.post1

2 files

1.26.0

2 files

1.25.0

2 files

1.24.69

2 files

1.24.36.post1

2 files

1.24.0

2 files

1.23.0.post1

2 files

1.23.0

2 files

1.22.8

2 files

1.22.0.post1

2 files

1.22.0

2 files

1.21.34

2 files

1.21.31

2 files

1.21.30

2 files

1.21.27

2 files

1.21.23.post1

2 files

1.21.23

2 files

1.21.0

2 files

1.20.49

2 files

1.20.46.post1

2 files

1.20.35.post1

2 files

1.20.1

2 files

1.20.0

2 files

1.19.12.post1

2 files

1.19.12

2 files

1.19.11

2 files

1.19.10

2 files

1.19.9

2 files

1.19.8

2 files

1.19.7

2 files

1.19.6

2 files

1.19.5

2 files

1.19.4

2 files

1.19.3

2 files

1.19.2

2 files

1.19.1.post1

2 files

1.19.1

2 files

1.19.0

2 files

1.18.65

2 files

1.18.64

2 files

1.18.63

2 files

1.18.62

2 files

1.18.61

2 files

1.18.60

2 files

1.18.59

2 files

1.18.58

2 files

1.18.57

2 files

1.18.56

2 files

1.18.55

2 files

1.18.54

2 files

1.18.53

2 files

1.18.52

2 files

1.18.51

2 files

1.18.50

2 files

1.18.49

2 files

1.18.48

2 files

1.18.47

2 files

1.18.46

2 files

1.18.45

2 files

1.18.44

2 files

1.18.43

2 files

1.18.42

2 files

1.18.41

2 files

1.18.40

2 files

1.18.39

2 files

1.18.38

2 files

1.18.37

2 files

1.18.36

2 files

1.18.35

2 files

1.18.34

2 files

1.18.33

2 files

1.18.32

2 files

1.18.31

2 files

1.18.30

2 files

1.18.29

2 files

1.18.28

2 files

1.18.27

2 files

1.18.26

2 files

1.18.25

2 files

1.18.24

2 files

1.18.23

2 files

1.18.22

2 files

1.18.21

2 files

1.18.20

2 files

1.18.19

2 files

1.18.18

2 files

1.18.17

2 files

1.18.16

2 files

1.18.15

2 files

1.18.14

2 files

1.18.13

2 files

1.18.12

2 files

1.18.11

2 files

1.18.10

2 files

1.18.9

2 files

1.18.8

2 files

1.18.7

2 files

1.18.6

2 files

1.18.5

2 files

1.18.4

2 files

1.18.3

2 files

1.18.2

2 files

1.18.1

2 files

1.18.0

2 files

1.17.112

2 files

1.17.111

2 files

1.17.110

2 files

1.17.109

2 files

1.17.108

2 files

1.17.107

2 files

1.17.106

2 files

1.17.105

2 files

1.17.104

2 files

1.17.103

2 files

1.17.102.post1

2 files

1.17.102

2 files

1.17.101.post2

2 files

1.17.101.post1

2 files

1.17.101

2 files

1.17.100

2 files

1.17.99

2 files

1.17.98

2 files

1.17.97

2 files

1.17.96

2 files

1.17.95

2 files

1.17.94

2 files

1.17.93

2 files

1.17.92.post1

2 files

1.17.92

2 files

1.17.91

2 files

1.17.90.post1

2 files

1.17.90

2 files

1.17.89

2 files

1.17.88.post1

2 files

1.17.88

2 files

1.17.87

2 files

1.17.86

2 files

1.17.85

2 files

1.17.84

2 files

1.17.83

2 files

1.17.82

2 files

1.17.81

2 files

1.17.80

2 files

1.17.79

2 files

1.17.78

2 files

1.17.77

2 files

1.17.76

2 files

1.17.75

2 files

1.17.74

2 files

1.17.73

2 files

1.17.72.post1

2 files

1.17.72

2 files

1.17.71.post1

2 files

1.17.71

2 files

1.17.70.post2

2 files

1.17.70.post1

2 files

1.17.70

2 files

1.17.69.0

2 files

1.17.68.0

2 files

1.17.67.0

2 files

1.17.66.0

2 files

1.17.65.0

2 files

1.17.64.2

2 files

1.17.64.1

2 files

1.17.63.1

2 files

1.17.63.0

2 files

1.17.62.1

2 files

1.17.62.0

2 files

1.17.61.1

2 files

1.17.61.0

2 files

1.17.60.1

2 files

1.17.60.0

2 files

1.17.59.0

2 files

1.17.58.0

2 files

1.17.57.0

2 files

1.17.56.0

2 files

1.17.55.0

2 files

1.17.54.0

2 files

1.17.53.1

2 files

1.17.53.0

2 files

1.17.52.0

2 files

1.17.51.0

2 files

1.17.50.1

2 files

1.17.50.0

2 files

1.17.49.0

2 files

1.17.48.0

2 files

1.17.47.0

2 files

1.17.46.0

2 files

1.17.45.0

2 files

1.17.44.0

2 files

1.17.43.0

2 files

1.17.42.0

2 files

1.17.41.0

2 files

1.17.40.0

2 files

1.17.39.0

2 files

1.17.38.0

2 files

1.17.37.0

2 files

1.17.36.0

2 files

1.17.35.0

2 files

1.17.34.0

2 files

1.17.33.0

2 files

1.17.32.0

2 files

1.17.31.0

2 files

1.17.30.0

2 files

1.17.29.0

2 files

1.17.28.0

2 files

1.17.27.0

2 files

1.17.26.0

2 files

1.17.25.0

2 files

1.17.24.0

2 files

1.17.23.0

2 files

1.17.22.0

2 files

1.17.21.0

2 files

1.17.20.0

2 files

1.17.19.0

2 files

1.17.18.0

2 files

1.17.17.0

2 files

1.17.16.0

2 files

1.17.15.0

2 files

1.17.14.0

2 files

1.17.13.0

2 files

1.17.12.0

2 files

1.17.11.0

2 files

1.17.10.0

2 files

1.17.9.0

2 files

1.17.8.0

2 files

1.17.7.0

2 files

1.17.6.0

2 files

1.17.5.0

2 files

1.17.4.0

2 files

1.17.3.0

2 files

1.17.2.1

2 files

1.17.2.0

2 files

1.17.1.0

2 files

1.17.0.0

2 files

1.16.63.0

2 files

1.16.62.0

2 files

1.16.61.0

2 files

1.16.60.0

2 files

1.16.59.0

2 files

1.16.58.0

2 files

1.16.57.0

2 files

1.16.56.0

2 files

1.16.55.0

2 files

1.16.54.0

2 files

1.16.53.0

2 files

1.16.52.0

2 files

1.16.51.0

2 files

1.16.50.0

2 files

1.16.49.0

2 files

1.16.48.0

2 files

1.16.47.0

2 files

1.16.46.0

2 files

1.16.45.0

2 files

1.16.44.0

2 files

1.16.43.0

2 files

1.16.42.0

2 files

1.16.41.0

2 files

1.16.40.0

2 files

1.16.39.1

2 files

1.16.39.0

2 files

1.16.38.0

2 files

1.16.37.0

2 files

1.16.36.0

2 files

1.16.35.0

2 files

1.16.34.0

2 files

1.16.33.0

2 files

1.16.32.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page