mypy-boto3-eks 1.35.45__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.
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/PKG-INFO +59 -18
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/README.md +55 -15
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/__init__.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/__init__.py +3 -0
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/__init__.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/__init__.pyi +2 -1
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/__main__.py +7 -5
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/client.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/client.py +156 -119
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/client.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/client.pyi +152 -123
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/literals.pyi → mypy_boto3_eks-1.35.72/mypy_boto3_eks/literals.py +27 -6
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/literals.py → mypy_boto3_eks-1.35.72/mypy_boto3_eks/literals.pyi +25 -8
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/paginator.py +29 -27
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/paginator.pyi +29 -27
- mypy_boto3_eks-1.35.72/mypy_boto3_eks/type_defs.py +1810 -0
- mypy_boto3_eks-1.35.72/mypy_boto3_eks/type_defs.pyi +1586 -0
- mypy_boto3_eks-1.35.72/mypy_boto3_eks/version.py +7 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/waiter.py +18 -16
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/waiter.pyi +18 -16
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/PKG-INFO +59 -18
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/setup.py +6 -3
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/type_defs.py +0 -2065
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/type_defs.pyi +0 -2064
- mypy_boto3_eks-1.35.45/mypy_boto3_eks/version.py +0 -5
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/LICENSE +0 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks/py.typed +0 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/not-zip-safe +0 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/requires.txt +0 -0
- {mypy_boto3_eks-1.35.45 → mypy_boto3_eks-1.35.72}/mypy_boto3_eks.egg-info/top_level.txt +0 -0
- {mypy_boto3_eks-1.35.45 → 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.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
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
|
|
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
|
|
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
27
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
28
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
29
|
Classifier: Typing :: Stubs Only
|
|
@@ -35,16 +36,15 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-eks
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-eks)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-eks)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-eks/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-eks/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-eks)
|
|
42
43
|
|
|
43
44
|

|
|
44
45
|
|
|
45
|
-
Type annotations for
|
|
46
|
-
[
|
|
47
|
-
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/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
50
50
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -52,15 +52,15 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated by
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
55
|
+
[mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
59
59
|
[mypy-boto3-eks docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/).
|
|
60
60
|
|
|
61
|
-
See how it helps
|
|
61
|
+
See how it helps you find and fix potential bugs:
|
|
62
62
|
|
|
63
|
-

|
|
64
64
|
|
|
65
65
|
- [mypy-boto3-eks](#mypy-boto3-eks)
|
|
66
66
|
- [How to install](#how-to-install)
|
|
@@ -75,6 +75,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
75
|
- [Other IDEs](#other-ides)
|
|
76
76
|
- [mypy](#mypy)
|
|
77
77
|
- [pyright](#pyright)
|
|
78
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
79
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
80
|
- [Client annotations](#client-annotations)
|
|
80
81
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -158,16 +159,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
158
159
|
|
|
159
160
|
### PyCharm
|
|
160
161
|
|
|
161
|
-
|
|
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/):
|
|
162
174
|
|
|
163
175
|
```bash
|
|
164
|
-
|
|
176
|
+
pip uninstall boto3-stubs
|
|
177
|
+
pip install boto3-stubs-lite
|
|
165
178
|
```
|
|
166
179
|
|
|
167
|
-
|
|
168
|
-
|
|
180
|
+
Install `boto3-stubs[eks]` in your environment:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
python -m pip install 'boto3-stubs[eks]'
|
|
184
|
+
```
|
|
169
185
|
|
|
170
|
-
|
|
186
|
+
Both type checking and code completion should now work.
|
|
171
187
|
|
|
172
188
|
<a id="emacs"></a>
|
|
173
189
|
|
|
@@ -253,6 +269,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
253
269
|
Type checking should now work. No explicit type annotations required, write
|
|
254
270
|
your `boto3` code as usual.
|
|
255
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
|
+
|
|
256
297
|
<a id="explicit-type-annotations"></a>
|
|
257
298
|
|
|
258
299
|
## Explicit type annotations
|
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
# mypy-boto3-eks
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/mypy-boto3-eks)
|
|
6
|
-
[](https://pypi.org/project/mypy-boto3-eks)
|
|
7
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
8
|
-
[](https://
|
|
5
|
+
[](https://pypi.org/project/mypy-boto3-eks/)
|
|
6
|
+
[](https://pypi.org/project/mypy-boto3-eks/)
|
|
7
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
8
|
+
[](https://pypistats.org/packages/mypy-boto3-eks)
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for
|
|
13
|
-
[
|
|
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.
|
|
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
|
|
27
|
+
See how it helps you find and fix potential bugs:
|
|
29
28
|
|
|
30
|
-

|
|
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
|
-
|
|
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
|
-
|
|
142
|
+
pip uninstall boto3-stubs
|
|
143
|
+
pip install boto3-stubs-lite
|
|
132
144
|
```
|
|
133
145
|
|
|
134
|
-
|
|
135
|
-
|
|
146
|
+
Install `boto3-stubs[eks]` in your environment:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
python -m pip install 'boto3-stubs[eks]'
|
|
150
|
+
```
|
|
136
151
|
|
|
137
|
-
|
|
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
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version: 8.
|
|
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#
|
|
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.
|
|
29
|
+
print("1.35.72")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|