mypy-boto3-eks 1.35.57__py3-none-any.whl → 1.35.81__py3-none-any.whl
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/__init__.py +2 -0
- mypy_boto3_eks/__init__.pyi +2 -0
- mypy_boto3_eks/__main__.py +7 -5
- mypy_boto3_eks/client.py +152 -119
- mypy_boto3_eks/client.pyi +152 -119
- mypy_boto3_eks/literals.py +21 -0
- mypy_boto3_eks/literals.pyi +21 -0
- mypy_boto3_eks/paginator.py +28 -26
- mypy_boto3_eks/paginator.pyi +28 -26
- mypy_boto3_eks/type_defs.py +117 -23
- mypy_boto3_eks/type_defs.pyi +100 -20
- mypy_boto3_eks/version.py +3 -1
- mypy_boto3_eks/waiter.py +18 -16
- mypy_boto3_eks/waiter.pyi +18 -16
- {mypy_boto3_eks-1.35.57.dist-info → mypy_boto3_eks-1.35.81.dist-info}/METADATA +75 -21
- mypy_boto3_eks-1.35.81.dist-info/RECORD +20 -0
- {mypy_boto3_eks-1.35.57.dist-info → mypy_boto3_eks-1.35.81.dist-info}/WHEEL +1 -1
- mypy_boto3_eks-1.35.57.dist-info/RECORD +0 -20
- {mypy_boto3_eks-1.35.57.dist-info → mypy_boto3_eks-1.35.81.dist-info}/LICENSE +0 -0
- {mypy_boto3_eks-1.35.57.dist-info → mypy_boto3_eks-1.35.81.dist-info}/top_level.txt +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.81
|
|
4
|
+
Summary: Type annotations for boto3 EKS 1.35.81 service generated with mypy-boto3-builder 8.6.3
|
|
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
|
|
@@ -36,35 +36,35 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
36
36
|
|
|
37
37
|
# mypy-boto3-eks
|
|
38
38
|
|
|
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://
|
|
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)
|
|
43
43
|
|
|
44
44
|

|
|
45
45
|
|
|
46
|
-
Type annotations for
|
|
47
|
-
[
|
|
48
|
-
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
46
|
+
Type annotations for [boto3 EKS 1.35.81](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/),
|
|
52
51
|
[mypy](https://github.com/python/mypy),
|
|
53
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
54
53
|
|
|
55
|
-
Generated
|
|
56
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
Generated with
|
|
55
|
+
[mypy-boto3-builder 8.6.3](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
|
|
61
|
+
See how it helps you find and fix potential bugs:
|
|
63
62
|
|
|
64
|
-

|
|
65
64
|
|
|
66
65
|
- [mypy-boto3-eks](#mypy-boto3-eks)
|
|
67
66
|
- [How to install](#how-to-install)
|
|
67
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
68
68
|
- [VSCode extension](#vscode-extension)
|
|
69
69
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
70
70
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -76,6 +76,7 @@ See how it helps to find and fix potential bugs:
|
|
|
76
76
|
- [Other IDEs](#other-ides)
|
|
77
77
|
- [mypy](#mypy)
|
|
78
78
|
- [pyright](#pyright)
|
|
79
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
79
80
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
80
81
|
- [Client annotations](#client-annotations)
|
|
81
82
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -95,6 +96,21 @@ See how it helps to find and fix potential bugs:
|
|
|
95
96
|
|
|
96
97
|
## How to install
|
|
97
98
|
|
|
99
|
+
<a id="generate-locally-(recommended)"></a>
|
|
100
|
+
|
|
101
|
+
### Generate locally (recommended)
|
|
102
|
+
|
|
103
|
+
You can generate type annotations for `boto3` package locally with
|
|
104
|
+
`mypy_boto3_builder`. Use
|
|
105
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
106
|
+
isolation.
|
|
107
|
+
|
|
108
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
109
|
+
`uvx --with 'boto3==1.35.81' mypy_boto3_builder`
|
|
110
|
+
2. Select `boto3 (legacy boto3-stubs)` AWS SDK.
|
|
111
|
+
3. Add `EKS` service.
|
|
112
|
+
4. Use provided commands to install generated packages.
|
|
113
|
+
|
|
98
114
|
<a id="vscode-extension"></a>
|
|
99
115
|
|
|
100
116
|
### VSCode extension
|
|
@@ -115,12 +131,10 @@ Install `boto3-stubs` for `EKS` service.
|
|
|
115
131
|
# install with boto3 type annotations
|
|
116
132
|
python -m pip install 'boto3-stubs[eks]'
|
|
117
133
|
|
|
118
|
-
|
|
119
134
|
# Lite version does not provide session.client/resource overloads
|
|
120
135
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
121
136
|
python -m pip install 'boto3-stubs-lite[eks]'
|
|
122
137
|
|
|
123
|
-
|
|
124
138
|
# standalone installation
|
|
125
139
|
python -m pip install mypy-boto3-eks
|
|
126
140
|
```
|
|
@@ -159,16 +173,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
159
173
|
|
|
160
174
|
### PyCharm
|
|
161
175
|
|
|
162
|
-
|
|
176
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
177
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
178
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
179
|
+
> the issue is resolved.
|
|
180
|
+
|
|
181
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
182
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
183
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
184
|
+
|
|
185
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
186
|
+
> `boto3-stubs` with
|
|
187
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
163
188
|
|
|
164
189
|
```bash
|
|
165
|
-
|
|
190
|
+
pip uninstall boto3-stubs
|
|
191
|
+
pip install boto3-stubs-lite
|
|
166
192
|
```
|
|
167
193
|
|
|
168
|
-
|
|
169
|
-
annotations **are required**.
|
|
194
|
+
Install `boto3-stubs[eks]` in your environment:
|
|
170
195
|
|
|
171
|
-
|
|
196
|
+
```bash
|
|
197
|
+
python -m pip install 'boto3-stubs[eks]'
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Both type checking and code completion should now work.
|
|
172
201
|
|
|
173
202
|
<a id="emacs"></a>
|
|
174
203
|
|
|
@@ -254,6 +283,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
254
283
|
Type checking should now work. No explicit type annotations required, write
|
|
255
284
|
your `boto3` code as usual.
|
|
256
285
|
|
|
286
|
+
<a id="pylint-compatibility"></a>
|
|
287
|
+
|
|
288
|
+
### Pylint compatibility
|
|
289
|
+
|
|
290
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
291
|
+
`mypy-boto3-eks` dependency in production. However, there is an issue in
|
|
292
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
293
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
294
|
+
|
|
295
|
+
```python
|
|
296
|
+
from typing import TYPE_CHECKING
|
|
297
|
+
|
|
298
|
+
if TYPE_CHECKING:
|
|
299
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
300
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
301
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
302
|
+
else:
|
|
303
|
+
EC2Client = object
|
|
304
|
+
EC2ServiceResource = object
|
|
305
|
+
BundleTaskCompleteWaiter = object
|
|
306
|
+
DescribeVolumesPaginator = object
|
|
307
|
+
|
|
308
|
+
...
|
|
309
|
+
```
|
|
310
|
+
|
|
257
311
|
<a id="explicit-type-annotations"></a>
|
|
258
312
|
|
|
259
313
|
## Explicit type annotations
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
mypy_boto3_eks/__init__.py,sha256=jFVUXeLoad7MEcujD_IzbWsthXmaDeDIHTMXeiBEnus,4743
|
|
2
|
+
mypy_boto3_eks/__init__.pyi,sha256=FZEpmKxAATrcpUAICEJ3rOJMJADPR7MZWMgXZ2Fnk_g,4742
|
|
3
|
+
mypy_boto3_eks/__main__.py,sha256=evP40ImZWuzINg2znGymxKjLVItzdbVGyoE0FTKosWs,933
|
|
4
|
+
mypy_boto3_eks/client.py,sha256=-4_q-egEi_VRRzY8euKJjVvAWAT8GtVTiU3APt2IkvE,47867
|
|
5
|
+
mypy_boto3_eks/client.pyi,sha256=Z8Bqxwz50F1DkMkBYuRsb4_WdeGkHJb2fVbTp50NvZE,47863
|
|
6
|
+
mypy_boto3_eks/literals.py,sha256=fe94L8Yd1U1Og7Hdwi3odSnSl5fLJAbI2KI3QpsyOqI,18868
|
|
7
|
+
mypy_boto3_eks/literals.pyi,sha256=a--t8UdCfCoOXtzbWeYV7A32g5a6qDQuBTO52L-fdC0,18866
|
|
8
|
+
mypy_boto3_eks/paginator.py,sha256=b47PYSo7ZZeyb6a8cZAvKWs0GQJNHe491CGkrnvD4pU,16664
|
|
9
|
+
mypy_boto3_eks/paginator.pyi,sha256=snJRMYrJ-Fm_qCLP4NuD0y2wX2AlZkFkc7MrJPx3qrA,16635
|
|
10
|
+
mypy_boto3_eks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_eks/type_defs.py,sha256=_IXKFwuc92X8FlHDKOScDtPE3BN0tGFRY6UwBv88PcA,55329
|
|
12
|
+
mypy_boto3_eks/type_defs.pyi,sha256=kSYaqSk2MYeTCppZi2NhvQxubPoRbYjLxE2eiAe0NoA,55104
|
|
13
|
+
mypy_boto3_eks/version.py,sha256=43YQ076woionZM0aB5UwdorEF0QPSwqFdL8sU1y7tgU,93
|
|
14
|
+
mypy_boto3_eks/waiter.py,sha256=zpm2zEN_i94jJpYhb4yDd5xJ_jI5kRf2ynCffyOZEpM,8545
|
|
15
|
+
mypy_boto3_eks/waiter.pyi,sha256=FcCxeEAmZHN---jGku2y6s-h_KMBuGeMnqfOVZGa8Aw,8528
|
|
16
|
+
mypy_boto3_eks-1.35.81.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
17
|
+
mypy_boto3_eks-1.35.81.dist-info/METADATA,sha256=H77vnEOkNcKxc4C_g-qj2G64wTX0q6VFlVRT88Q2xy0,17480
|
|
18
|
+
mypy_boto3_eks-1.35.81.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
19
|
+
mypy_boto3_eks-1.35.81.dist-info/top_level.txt,sha256=WzyqlAH5WFvCFI-LKEMwG_Khgagcx_dFpnoibGYNbA0,15
|
|
20
|
+
mypy_boto3_eks-1.35.81.dist-info/RECORD,,
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
mypy_boto3_eks/__init__.py,sha256=ftYoSg8t2HbS5n_Th10welexqH1s0B5P6EUTOPQM49A,4712
|
|
2
|
-
mypy_boto3_eks/__init__.pyi,sha256=E0bo5I6kWoDlOCMzx0dtxdOWp03U82Zv5m7lkQCqFaw,4711
|
|
3
|
-
mypy_boto3_eks/__main__.py,sha256=EqiaHLhx4dHxqI7wr5osAJw2s2BYlST-jZ0jkmcajR4,902
|
|
4
|
-
mypy_boto3_eks/client.py,sha256=05BuVPBV_WUlRFNwg7mY_o1bG64jdZdlyCx3Ge4RMY0,47280
|
|
5
|
-
mypy_boto3_eks/client.pyi,sha256=KtumDlxwy0T5aJtu0CE-98aQEu5HqXUgqCpCCAIehJk,47276
|
|
6
|
-
mypy_boto3_eks/literals.py,sha256=Bx18__7ItlKa9dfmz6JhtdK64KZ86UQfRAXbpqAgM_g,18380
|
|
7
|
-
mypy_boto3_eks/literals.pyi,sha256=XwP31GBnen8x8-N6kKtt7zLuMyZ3Fa1EjVJDF0D_nnM,18378
|
|
8
|
-
mypy_boto3_eks/paginator.py,sha256=3wgjSh8wiXgJS7H4DE3Qs_85t0UdRcOGehvxLyZJJ74,15859
|
|
9
|
-
mypy_boto3_eks/paginator.pyi,sha256=2KPvpup2wh4PMZhsCAKJ3elvgSsGlPyI0LE0DVR28SU,15830
|
|
10
|
-
mypy_boto3_eks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_eks/type_defs.py,sha256=L_48Efemg1e3wJxAH80-66kh9igfmFQae36scfiMHXk,52146
|
|
12
|
-
mypy_boto3_eks/type_defs.pyi,sha256=ICxkyNHgSRD-zTl78DZl-cu_hop9khJS4p8ep0bnHRw,51935
|
|
13
|
-
mypy_boto3_eks/version.py,sha256=kQVSRKdRJ8KDg2HO747s8W7KhacttdsPNONwO7M2VW8,62
|
|
14
|
-
mypy_boto3_eks/waiter.py,sha256=e8aMOT4WbPNTCuACUbdJbMHCQJJZPy4iKWGQoUkQuZU,8142
|
|
15
|
-
mypy_boto3_eks/waiter.pyi,sha256=2LqlAM_Ej2COESZHu1kT4rrBQig-pD9_MS76a8BzA90,8125
|
|
16
|
-
mypy_boto3_eks-1.35.57.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
17
|
-
mypy_boto3_eks-1.35.57.dist-info/METADATA,sha256=D2bRVL9Q0M6yBn1TKOnYBj8nhfCIZk-CnN9zP5AxbqU,15625
|
|
18
|
-
mypy_boto3_eks-1.35.57.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
19
|
-
mypy_boto3_eks-1.35.57.dist-info/top_level.txt,sha256=WzyqlAH5WFvCFI-LKEMwG_Khgagcx_dFpnoibGYNbA0,15
|
|
20
|
-
mypy_boto3_eks-1.35.57.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|