mypy-boto3-eks 1.35.57__tar.gz → 1.35.72__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/PKG-INFO +58 -18
  2. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/README.md +55 -15
  3. mypy_boto3_eks-1.35.57/mypy_boto3_eks/__init__.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/__init__.py +3 -0
  4. mypy_boto3_eks-1.35.57/mypy_boto3_eks/__init__.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/__init__.pyi +2 -1
  5. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/__main__.py +7 -5
  6. mypy_boto3_eks-1.35.57/mypy_boto3_eks/client.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/client.py +156 -119
  7. mypy_boto3_eks-1.35.57/mypy_boto3_eks/client.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/client.pyi +152 -123
  8. mypy_boto3_eks-1.35.57/mypy_boto3_eks/literals.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/literals.py +18 -0
  9. mypy_boto3_eks-1.35.57/mypy_boto3_eks/literals.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/literals.pyi +16 -2
  10. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/paginator.py +28 -26
  11. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/paginator.pyi +28 -26
  12. mypy_boto3_eks-1.35.57/mypy_boto3_eks/type_defs.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/type_defs.py +314 -17
  13. mypy_boto3_eks-1.35.57/mypy_boto3_eks/type_defs.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/type_defs.pyi +84 -222
  14. mypy_boto3_eks-1.35.72/mypy_boto3_eks/version.py +7 -0
  15. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/waiter.py +18 -16
  16. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/waiter.pyi +18 -16
  17. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/PKG-INFO +58 -18
  18. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/setup.py +5 -3
  19. mypy_boto3_eks-1.35.57/mypy_boto3_eks/version.py +0 -5
  20. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/LICENSE +0 -0
  21. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/py.typed +0 -0
  22. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/SOURCES.txt +0 -0
  23. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/dependency_links.txt +0 -0
  24. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/not-zip-safe +0 -0
  25. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/requires.txt +0 -0
  26. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/top_level.txt +0 -0
  27. {mypy_boto3_eks-1.35.57 → mypy_boto3_eks-1.35.72}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-eks
3
- Version: 1.35.57
4
- Summary: Type annotations for boto3.EKS 1.35.57 service generated with mypy-boto3-builder 8.2.1
3
+ Version: 1.35.72
4
+ Summary: Type annotations for boto3 EKS 1.35.72 service generated with mypy-boto3-builder 8.5.0
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -9,7 +9,7 @@ License: MIT License
9
9
  Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/
10
10
  Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
11
  Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
- Keywords: boto3 eks type-annotations botocore mypy typeshed autocomplete
12
+ Keywords: boto3 eks boto3-stubs type-annotations mypy typeshed autocomplete
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Environment :: Console
@@ -36,16 +36,15 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
36
36
 
37
37
  # mypy-boto3-eks
38
38
 
39
- [![PyPI - mypy-boto3-eks](https://img.shields.io/pypi/v/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks)
40
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks)
41
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/)
42
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-eks)](https://pepy.tech/project/mypy-boto3-eks)
39
+ [![PyPI - mypy-boto3-eks](https://img.shields.io/pypi/v/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-eks)](https://pypistats.org/packages/mypy-boto3-eks)
43
43
 
44
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
45
 
46
- Type annotations for
47
- [boto3.EKS 1.35.57](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS)
48
- service compatible with [VSCode](https://code.visualstudio.com/),
46
+ Type annotations for [boto3 EKS 1.35.72](https://pypi.org/project/boto3/)
47
+ compatible with [VSCode](https://code.visualstudio.com/),
49
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
50
49
  [Emacs](https://www.gnu.org/software/emacs/),
51
50
  [Sublime Text](https://www.sublimetext.com/),
@@ -53,15 +52,15 @@ service compatible with [VSCode](https://code.visualstudio.com/),
53
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
54
53
 
55
54
  Generated by
56
- [mypy-boto3-builder 8.2.1](https://github.com/youtype/mypy_boto3_builder).
55
+ [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
57
56
 
58
57
  More information can be found on
59
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
60
59
  [mypy-boto3-eks docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/).
61
60
 
62
- See how it helps to find and fix potential bugs:
61
+ See how it helps you find and fix potential bugs:
63
62
 
64
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
63
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
64
 
66
65
  - [mypy-boto3-eks](#mypy-boto3-eks)
67
66
  - [How to install](#how-to-install)
@@ -76,6 +75,7 @@ See how it helps to find and fix potential bugs:
76
75
  - [Other IDEs](#other-ides)
77
76
  - [mypy](#mypy)
78
77
  - [pyright](#pyright)
78
+ - [Pylint compatibility](#pylint-compatibility)
79
79
  - [Explicit type annotations](#explicit-type-annotations)
80
80
  - [Client annotations](#client-annotations)
81
81
  - [Paginators annotations](#paginators-annotations)
@@ -159,16 +159,31 @@ annotations required, write your `boto3` code as usual.
159
159
 
160
160
  ### PyCharm
161
161
 
162
- Install `boto3-stubs-lite[eks]` in your environment:
162
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
163
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
164
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
165
+ > the issue is resolved.
166
+
167
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
168
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
169
+ > [pyright](https://github.com/microsoft/pyright) instead.
170
+
171
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
172
+ > `boto3-stubs` with
173
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
163
174
 
164
175
  ```bash
165
- python -m pip install 'boto3-stubs-lite[eks]'
176
+ pip uninstall boto3-stubs
177
+ pip install boto3-stubs-lite
166
178
  ```
167
179
 
168
- Both type checking and code completion should now work. Explicit type
169
- annotations **are required**.
180
+ Install `boto3-stubs[eks]` in your environment:
181
+
182
+ ```bash
183
+ python -m pip install 'boto3-stubs[eks]'
184
+ ```
170
185
 
171
- Use `boto3-stubs` package instead for implicit type discovery.
186
+ Both type checking and code completion should now work.
172
187
 
173
188
  <a id="emacs"></a>
174
189
 
@@ -254,6 +269,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
254
269
  Type checking should now work. No explicit type annotations required, write
255
270
  your `boto3` code as usual.
256
271
 
272
+ <a id="pylint-compatibility"></a>
273
+
274
+ ### Pylint compatibility
275
+
276
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
277
+ `mypy-boto3-eks` dependency in production. However, there is an issue in
278
+ `pylint` that it complains about undefined variables. To fix it, set all types
279
+ to `object` in non-`TYPE_CHECKING` mode.
280
+
281
+ ```python
282
+ from typing import TYPE_CHECKING
283
+
284
+ if TYPE_CHECKING:
285
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
286
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
287
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
288
+ else:
289
+ EC2Client = object
290
+ EC2ServiceResource = object
291
+ BundleTaskCompleteWaiter = object
292
+ DescribeVolumesPaginator = object
293
+
294
+ ...
295
+ ```
296
+
257
297
  <a id="explicit-type-annotations"></a>
258
298
 
259
299
  ## Explicit type annotations
@@ -2,16 +2,15 @@
2
2
 
3
3
  # mypy-boto3-eks
4
4
 
5
- [![PyPI - mypy-boto3-eks](https://img.shields.io/pypi/v/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks)
6
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks)
7
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/)
8
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-eks)](https://pepy.tech/project/mypy-boto3-eks)
5
+ [![PyPI - mypy-boto3-eks](https://img.shields.io/pypi/v/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-eks.svg?color=blue)](https://pypi.org/project/mypy-boto3-eks/)
7
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
8
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-eks)](https://pypistats.org/packages/mypy-boto3-eks)
9
9
 
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
- Type annotations for
13
- [boto3.EKS 1.35.57](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS)
14
- service compatible with [VSCode](https://code.visualstudio.com/),
12
+ Type annotations for [boto3 EKS 1.35.72](https://pypi.org/project/boto3/)
13
+ compatible with [VSCode](https://code.visualstudio.com/),
15
14
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
15
  [Emacs](https://www.gnu.org/software/emacs/),
17
16
  [Sublime Text](https://www.sublimetext.com/),
@@ -19,15 +18,15 @@ service compatible with [VSCode](https://code.visualstudio.com/),
19
18
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
19
 
21
20
  Generated by
22
- [mypy-boto3-builder 8.2.1](https://github.com/youtype/mypy_boto3_builder).
21
+ [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
23
22
 
24
23
  More information can be found on
25
24
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
26
25
  [mypy-boto3-eks docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/).
27
26
 
28
- See how it helps to find and fix potential bugs:
27
+ See how it helps you find and fix potential bugs:
29
28
 
30
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
29
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
31
30
 
32
31
  - [mypy-boto3-eks](#mypy-boto3-eks)
33
32
  - [How to install](#how-to-install)
@@ -42,6 +41,7 @@ See how it helps to find and fix potential bugs:
42
41
  - [Other IDEs](#other-ides)
43
42
  - [mypy](#mypy)
44
43
  - [pyright](#pyright)
44
+ - [Pylint compatibility](#pylint-compatibility)
45
45
  - [Explicit type annotations](#explicit-type-annotations)
46
46
  - [Client annotations](#client-annotations)
47
47
  - [Paginators annotations](#paginators-annotations)
@@ -125,16 +125,31 @@ annotations required, write your `boto3` code as usual.
125
125
 
126
126
  ### PyCharm
127
127
 
128
- Install `boto3-stubs-lite[eks]` in your environment:
128
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
129
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
130
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
131
+ > the issue is resolved.
132
+
133
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
134
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
135
+ > [pyright](https://github.com/microsoft/pyright) instead.
136
+
137
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
138
+ > `boto3-stubs` with
139
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
129
140
 
130
141
  ```bash
131
- python -m pip install 'boto3-stubs-lite[eks]'
142
+ pip uninstall boto3-stubs
143
+ pip install boto3-stubs-lite
132
144
  ```
133
145
 
134
- Both type checking and code completion should now work. Explicit type
135
- annotations **are required**.
146
+ Install `boto3-stubs[eks]` in your environment:
147
+
148
+ ```bash
149
+ python -m pip install 'boto3-stubs[eks]'
150
+ ```
136
151
 
137
- Use `boto3-stubs` package instead for implicit type discovery.
152
+ Both type checking and code completion should now work.
138
153
 
139
154
  <a id="emacs"></a>
140
155
 
@@ -220,6 +235,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
220
235
  Type checking should now work. No explicit type annotations required, write
221
236
  your `boto3` code as usual.
222
237
 
238
+ <a id="pylint-compatibility"></a>
239
+
240
+ ### Pylint compatibility
241
+
242
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
243
+ `mypy-boto3-eks` dependency in production. However, there is an issue in
244
+ `pylint` that it complains about undefined variables. To fix it, set all types
245
+ to `object` in non-`TYPE_CHECKING` mode.
246
+
247
+ ```python
248
+ from typing import TYPE_CHECKING
249
+
250
+ if TYPE_CHECKING:
251
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
252
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
253
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
254
+ else:
255
+ EC2Client = object
256
+ EC2ServiceResource = object
257
+ BundleTaskCompleteWaiter = object
258
+ DescribeVolumesPaginator = object
259
+
260
+ ...
261
+ ```
262
+
223
263
  <a id="explicit-type-annotations"></a>
224
264
 
225
265
  ## Explicit type annotations
@@ -57,6 +57,8 @@ Usage::
57
57
  list_pod_identity_associations_paginator: ListPodIdentityAssociationsPaginator = client.get_paginator("list_pod_identity_associations")
58
58
  list_updates_paginator: ListUpdatesPaginator = client.get_paginator("list_updates")
59
59
  ```
60
+
61
+ Copyright 2024 Vlad Emelianov
60
62
  """
61
63
 
62
64
  from .client import EKSClient
@@ -88,6 +90,7 @@ from .waiter import (
88
90
 
89
91
  Client = EKSClient
90
92
 
93
+
91
94
  __all__ = (
92
95
  "AddonActiveWaiter",
93
96
  "AddonDeletedWaiter",
@@ -57,6 +57,8 @@ Usage::
57
57
  list_pod_identity_associations_paginator: ListPodIdentityAssociationsPaginator = client.get_paginator("list_pod_identity_associations")
58
58
  list_updates_paginator: ListUpdatesPaginator = client.get_paginator("list_updates")
59
59
  ```
60
+
61
+ Copyright 2024 Vlad Emelianov
60
62
  """
61
63
 
62
64
  from .client import EKSClient
@@ -88,7 +90,6 @@ from .waiter import (
88
90
 
89
91
  Client = EKSClient
90
92
 
91
-
92
93
  __all__ = (
93
94
  "AddonActiveWaiter",
94
95
  "AddonDeletedWaiter",
@@ -1,5 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
+
4
+ Copyright 2024 Vlad Emelianov
3
5
  """
4
6
 
5
7
  import sys
@@ -10,11 +12,11 @@ def print_info() -> None:
10
12
  Print package info to stdout.
11
13
  """
12
14
  print(
13
- "Type annotations for boto3.EKS 1.35.57\n"
14
- "Version: 1.35.57\n"
15
- "Builder version: 8.2.1\n"
15
+ "Type annotations for boto3 EKS 1.35.72\n"
16
+ "Version: 1.35.72\n"
17
+ "Builder version: 8.5.0\n"
16
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks//\n"
17
- "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#eks\n"
18
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
19
21
  "Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
20
22
  )
@@ -24,7 +26,7 @@ def print_version() -> None:
24
26
  """
25
27
  Print package version to stdout.
26
28
  """
27
- print("1.35.57")
29
+ print("1.35.72")
28
30
 
29
31
 
30
32
  def main() -> None: