mypy-boto3-batch 1.35.53__tar.gz → 1.35.83__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_batch-1.35.53 → mypy_boto3_batch-1.35.83}/PKG-INFO +76 -21
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/README.md +72 -18
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/__init__.pyi → mypy_boto3_batch-1.35.83/mypy_boto3_batch/__init__.py +3 -0
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/__init__.py → mypy_boto3_batch-1.35.83/mypy_boto3_batch/__init__.pyi +2 -1
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch/__main__.py +7 -5
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch/client.py +65 -58
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch/client.pyi +65 -58
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/literals.pyi → mypy_boto3_batch-1.35.83/mypy_boto3_batch/literals.py +23 -4
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/literals.py → mypy_boto3_batch-1.35.83/mypy_boto3_batch/literals.pyi +21 -6
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch/paginator.py +13 -11
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch/paginator.pyi +13 -11
- mypy_boto3_batch-1.35.83/mypy_boto3_batch/type_defs.py +1566 -0
- mypy_boto3_batch-1.35.83/mypy_boto3_batch/type_defs.pyi +1394 -0
- mypy_boto3_batch-1.35.83/mypy_boto3_batch/version.py +7 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch.egg-info/PKG-INFO +76 -21
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/setup.py +6 -3
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/type_defs.py +0 -1778
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/type_defs.pyi +0 -1777
- mypy_boto3_batch-1.35.53/mypy_boto3_batch/version.py +0 -5
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/LICENSE +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch/py.typed +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch.egg-info/requires.txt +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
- {mypy_boto3_batch-1.35.53 → mypy_boto3_batch-1.35.83}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-batch
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.83
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.35.83 service generated with mypy-boto3-builder 8.6.4
|
|
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_batch/
|
|
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 batch type-annotations
|
|
12
|
+
Keywords: boto3 batch 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,35 +36,35 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-batch
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-batch)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-batch)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-batch/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-batch/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-batch)
|
|
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 Batch 1.35.83](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/),
|
|
51
51
|
[mypy](https://github.com/python/mypy),
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
|
-
Generated
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
Generated with
|
|
55
|
+
[mypy-boto3-builder 8.6.4](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-batch docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/).
|
|
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-batch](#mypy-boto3-batch)
|
|
66
66
|
- [How to install](#how-to-install)
|
|
67
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
68
|
- [VSCode extension](#vscode-extension)
|
|
68
69
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
70
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +76,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
76
|
- [Other IDEs](#other-ides)
|
|
76
77
|
- [mypy](#mypy)
|
|
77
78
|
- [pyright](#pyright)
|
|
79
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
80
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
81
|
- [Client annotations](#client-annotations)
|
|
80
82
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +95,21 @@ See how it helps to find and fix potential bugs:
|
|
|
93
95
|
|
|
94
96
|
## How to install
|
|
95
97
|
|
|
98
|
+
<a id="generate-locally-(recommended)"></a>
|
|
99
|
+
|
|
100
|
+
### Generate locally (recommended)
|
|
101
|
+
|
|
102
|
+
You can generate type annotations for `boto3` package locally with
|
|
103
|
+
`mypy_boto3_builder`. Use
|
|
104
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
105
|
+
isolation.
|
|
106
|
+
|
|
107
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
+
`uvx --with 'boto3==1.35.83' mypy_boto3_builder`
|
|
109
|
+
2. Select `boto3 (legacy boto3-stubs)` AWS SDK.
|
|
110
|
+
3. Add `Batch` service.
|
|
111
|
+
4. Use provided commands to install generated packages.
|
|
112
|
+
|
|
96
113
|
<a id="vscode-extension"></a>
|
|
97
114
|
|
|
98
115
|
### VSCode extension
|
|
@@ -113,12 +130,10 @@ Install `boto3-stubs` for `Batch` service.
|
|
|
113
130
|
# install with boto3 type annotations
|
|
114
131
|
python -m pip install 'boto3-stubs[batch]'
|
|
115
132
|
|
|
116
|
-
|
|
117
133
|
# Lite version does not provide session.client/resource overloads
|
|
118
134
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
135
|
python -m pip install 'boto3-stubs-lite[batch]'
|
|
120
136
|
|
|
121
|
-
|
|
122
137
|
# standalone installation
|
|
123
138
|
python -m pip install mypy-boto3-batch
|
|
124
139
|
```
|
|
@@ -157,16 +172,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
172
|
|
|
158
173
|
### PyCharm
|
|
159
174
|
|
|
160
|
-
|
|
175
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
176
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
177
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
178
|
+
> the issue is resolved.
|
|
179
|
+
|
|
180
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
181
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
182
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
183
|
+
|
|
184
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
185
|
+
> `boto3-stubs` with
|
|
186
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
161
187
|
|
|
162
188
|
```bash
|
|
163
|
-
|
|
189
|
+
pip uninstall boto3-stubs
|
|
190
|
+
pip install boto3-stubs-lite
|
|
164
191
|
```
|
|
165
192
|
|
|
166
|
-
|
|
167
|
-
annotations **are required**.
|
|
193
|
+
Install `boto3-stubs[batch]` in your environment:
|
|
168
194
|
|
|
169
|
-
|
|
195
|
+
```bash
|
|
196
|
+
python -m pip install 'boto3-stubs[batch]'
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Both type checking and code completion should now work.
|
|
170
200
|
|
|
171
201
|
<a id="emacs"></a>
|
|
172
202
|
|
|
@@ -252,6 +282,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
252
282
|
Type checking should now work. No explicit type annotations required, write
|
|
253
283
|
your `boto3` code as usual.
|
|
254
284
|
|
|
285
|
+
<a id="pylint-compatibility"></a>
|
|
286
|
+
|
|
287
|
+
### Pylint compatibility
|
|
288
|
+
|
|
289
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
290
|
+
`mypy-boto3-batch` dependency in production. However, there is an issue in
|
|
291
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
292
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
293
|
+
|
|
294
|
+
```python
|
|
295
|
+
from typing import TYPE_CHECKING
|
|
296
|
+
|
|
297
|
+
if TYPE_CHECKING:
|
|
298
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
299
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
300
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
301
|
+
else:
|
|
302
|
+
EC2Client = object
|
|
303
|
+
EC2ServiceResource = object
|
|
304
|
+
BundleTaskCompleteWaiter = object
|
|
305
|
+
DescribeVolumesPaginator = object
|
|
306
|
+
|
|
307
|
+
...
|
|
308
|
+
```
|
|
309
|
+
|
|
255
310
|
<a id="explicit-type-annotations"></a>
|
|
256
311
|
|
|
257
312
|
## Explicit type annotations
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
# mypy-boto3-batch
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/mypy-boto3-batch)
|
|
6
|
-
[](https://pypi.org/project/mypy-boto3-batch)
|
|
7
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
8
|
-
[](https://
|
|
5
|
+
[](https://pypi.org/project/mypy-boto3-batch/)
|
|
6
|
+
[](https://pypi.org/project/mypy-boto3-batch/)
|
|
7
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
8
|
+
[](https://pypistats.org/packages/mypy-boto3-batch)
|
|
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 Batch 1.35.83](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/),
|
|
18
17
|
[mypy](https://github.com/python/mypy),
|
|
19
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
19
|
|
|
21
|
-
Generated
|
|
22
|
-
[mypy-boto3-builder 8.
|
|
20
|
+
Generated with
|
|
21
|
+
[mypy-boto3-builder 8.6.4](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-batch docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/).
|
|
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-batch](#mypy-boto3-batch)
|
|
33
32
|
- [How to install](#how-to-install)
|
|
33
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
34
34
|
- [VSCode extension](#vscode-extension)
|
|
35
35
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
36
36
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -42,6 +42,7 @@ See how it helps to find and fix potential bugs:
|
|
|
42
42
|
- [Other IDEs](#other-ides)
|
|
43
43
|
- [mypy](#mypy)
|
|
44
44
|
- [pyright](#pyright)
|
|
45
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
45
46
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
46
47
|
- [Client annotations](#client-annotations)
|
|
47
48
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -60,6 +61,21 @@ See how it helps to find and fix potential bugs:
|
|
|
60
61
|
|
|
61
62
|
## How to install
|
|
62
63
|
|
|
64
|
+
<a id="generate-locally-(recommended)"></a>
|
|
65
|
+
|
|
66
|
+
### Generate locally (recommended)
|
|
67
|
+
|
|
68
|
+
You can generate type annotations for `boto3` package locally with
|
|
69
|
+
`mypy_boto3_builder`. Use
|
|
70
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
71
|
+
isolation.
|
|
72
|
+
|
|
73
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
+
`uvx --with 'boto3==1.35.83' mypy_boto3_builder`
|
|
75
|
+
2. Select `boto3 (legacy boto3-stubs)` AWS SDK.
|
|
76
|
+
3. Add `Batch` service.
|
|
77
|
+
4. Use provided commands to install generated packages.
|
|
78
|
+
|
|
63
79
|
<a id="vscode-extension"></a>
|
|
64
80
|
|
|
65
81
|
### VSCode extension
|
|
@@ -80,12 +96,10 @@ Install `boto3-stubs` for `Batch` service.
|
|
|
80
96
|
# install with boto3 type annotations
|
|
81
97
|
python -m pip install 'boto3-stubs[batch]'
|
|
82
98
|
|
|
83
|
-
|
|
84
99
|
# Lite version does not provide session.client/resource overloads
|
|
85
100
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
86
101
|
python -m pip install 'boto3-stubs-lite[batch]'
|
|
87
102
|
|
|
88
|
-
|
|
89
103
|
# standalone installation
|
|
90
104
|
python -m pip install mypy-boto3-batch
|
|
91
105
|
```
|
|
@@ -124,16 +138,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
124
138
|
|
|
125
139
|
### PyCharm
|
|
126
140
|
|
|
127
|
-
|
|
141
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
142
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
143
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
144
|
+
> the issue is resolved.
|
|
145
|
+
|
|
146
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
147
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
148
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
149
|
+
|
|
150
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
151
|
+
> `boto3-stubs` with
|
|
152
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
128
153
|
|
|
129
154
|
```bash
|
|
130
|
-
|
|
155
|
+
pip uninstall boto3-stubs
|
|
156
|
+
pip install boto3-stubs-lite
|
|
131
157
|
```
|
|
132
158
|
|
|
133
|
-
|
|
134
|
-
annotations **are required**.
|
|
159
|
+
Install `boto3-stubs[batch]` in your environment:
|
|
135
160
|
|
|
136
|
-
|
|
161
|
+
```bash
|
|
162
|
+
python -m pip install 'boto3-stubs[batch]'
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Both type checking and code completion should now work.
|
|
137
166
|
|
|
138
167
|
<a id="emacs"></a>
|
|
139
168
|
|
|
@@ -219,6 +248,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
219
248
|
Type checking should now work. No explicit type annotations required, write
|
|
220
249
|
your `boto3` code as usual.
|
|
221
250
|
|
|
251
|
+
<a id="pylint-compatibility"></a>
|
|
252
|
+
|
|
253
|
+
### Pylint compatibility
|
|
254
|
+
|
|
255
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
256
|
+
`mypy-boto3-batch` dependency in production. However, there is an issue in
|
|
257
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
258
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
259
|
+
|
|
260
|
+
```python
|
|
261
|
+
from typing import TYPE_CHECKING
|
|
262
|
+
|
|
263
|
+
if TYPE_CHECKING:
|
|
264
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
265
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
266
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
267
|
+
else:
|
|
268
|
+
EC2Client = object
|
|
269
|
+
EC2ServiceResource = object
|
|
270
|
+
BundleTaskCompleteWaiter = object
|
|
271
|
+
DescribeVolumesPaginator = object
|
|
272
|
+
|
|
273
|
+
...
|
|
274
|
+
```
|
|
275
|
+
|
|
222
276
|
<a id="explicit-type-annotations"></a>
|
|
223
277
|
|
|
224
278
|
## Explicit type annotations
|
|
@@ -24,6 +24,8 @@ Usage::
|
|
|
24
24
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
25
25
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
26
|
```
|
|
27
|
+
|
|
28
|
+
Copyright 2024 Vlad Emelianov
|
|
27
29
|
"""
|
|
28
30
|
|
|
29
31
|
from .client import BatchClient
|
|
@@ -37,6 +39,7 @@ from .paginator import (
|
|
|
37
39
|
|
|
38
40
|
Client = BatchClient
|
|
39
41
|
|
|
42
|
+
|
|
40
43
|
__all__ = (
|
|
41
44
|
"BatchClient",
|
|
42
45
|
"Client",
|
|
@@ -24,6 +24,8 @@ Usage::
|
|
|
24
24
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
25
25
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
26
|
```
|
|
27
|
+
|
|
28
|
+
Copyright 2024 Vlad Emelianov
|
|
27
29
|
"""
|
|
28
30
|
|
|
29
31
|
from .client import BatchClient
|
|
@@ -37,7 +39,6 @@ from .paginator import (
|
|
|
37
39
|
|
|
38
40
|
Client = BatchClient
|
|
39
41
|
|
|
40
|
-
|
|
41
42
|
__all__ = (
|
|
42
43
|
"BatchClient",
|
|
43
44
|
"Client",
|
|
@@ -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 Batch 1.35.83\n"
|
|
16
|
+
"Version: 1.35.83\n"
|
|
17
|
+
"Builder version: 8.6.4\n"
|
|
16
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
|
|
17
|
-
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#batch\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.83")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|