mypy-boto3-batch 1.35.57__tar.gz → 1.35.93__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.57 → mypy_boto3_batch-1.35.93}/LICENSE +1 -1
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/PKG-INFO +76 -22
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/README.md +72 -18
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/__init__.pyi → mypy_boto3_batch-1.35.93/mypy_boto3_batch/__init__.py +3 -0
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/__init__.py → mypy_boto3_batch-1.35.93/mypy_boto3_batch/__init__.pyi +2 -1
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/__main__.py +11 -8
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/client.py +86 -81
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/client.pyi +86 -80
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/literals.pyi → mypy_boto3_batch-1.35.93/mypy_boto3_batch/literals.py +20 -1
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/literals.py → mypy_boto3_batch-1.35.93/mypy_boto3_batch/literals.pyi +18 -3
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/paginator.pyi → mypy_boto3_batch-1.35.93/mypy_boto3_batch/paginator.py +82 -46
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/paginator.py → mypy_boto3_batch-1.35.93/mypy_boto3_batch/paginator.pyi +63 -56
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/type_defs.py +34 -12
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/type_defs.pyi +33 -12
- mypy_boto3_batch-1.35.93/mypy_boto3_batch/version.py +7 -0
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/PKG-INFO +76 -22
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/requires.txt +1 -1
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/setup.py +6 -6
- mypy_boto3_batch-1.35.57/mypy_boto3_batch/version.py +0 -5
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/py.typed +0 -0
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
- {mypy_boto3_batch-1.35.57 → mypy_boto3_batch-1.35.93}/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.93
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.35.93 service generated with mypy-boto3-builder 8.8.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_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
|
|
@@ -30,41 +30,41 @@ Classifier: Typing :: Stubs Only
|
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
34
|
|
|
35
35
|
<a id="mypy-boto3-batch"></a>
|
|
36
36
|
|
|
37
37
|
# mypy-boto3-batch
|
|
38
38
|
|
|
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://
|
|
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)
|
|
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 Batch 1.35.93](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.8.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-batch docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/).
|
|
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-batch](#mypy-boto3-batch)
|
|
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)
|
|
@@ -94,6 +95,21 @@ See how it helps to find and fix potential bugs:
|
|
|
94
95
|
|
|
95
96
|
## How to install
|
|
96
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.93' mypy_boto3_builder`
|
|
109
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
110
|
+
3. Add `Batch` service.
|
|
111
|
+
4. Use provided commands to install generated packages.
|
|
112
|
+
|
|
97
113
|
<a id="vscode-extension"></a>
|
|
98
114
|
|
|
99
115
|
### VSCode extension
|
|
@@ -114,12 +130,10 @@ Install `boto3-stubs` for `Batch` service.
|
|
|
114
130
|
# install with boto3 type annotations
|
|
115
131
|
python -m pip install 'boto3-stubs[batch]'
|
|
116
132
|
|
|
117
|
-
|
|
118
133
|
# Lite version does not provide session.client/resource overloads
|
|
119
134
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
120
135
|
python -m pip install 'boto3-stubs-lite[batch]'
|
|
121
136
|
|
|
122
|
-
|
|
123
137
|
# standalone installation
|
|
124
138
|
python -m pip install mypy-boto3-batch
|
|
125
139
|
```
|
|
@@ -158,16 +172,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
158
172
|
|
|
159
173
|
### PyCharm
|
|
160
174
|
|
|
161
|
-
|
|
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/):
|
|
162
187
|
|
|
163
188
|
```bash
|
|
164
|
-
|
|
189
|
+
pip uninstall boto3-stubs
|
|
190
|
+
pip install boto3-stubs-lite
|
|
165
191
|
```
|
|
166
192
|
|
|
167
|
-
|
|
168
|
-
annotations **are required**.
|
|
193
|
+
Install `boto3-stubs[batch]` in your environment:
|
|
169
194
|
|
|
170
|
-
|
|
195
|
+
```bash
|
|
196
|
+
python -m pip install 'boto3-stubs[batch]'
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Both type checking and code completion should now work.
|
|
171
200
|
|
|
172
201
|
<a id="emacs"></a>
|
|
173
202
|
|
|
@@ -253,6 +282,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
253
282
|
Type checking should now work. No explicit type annotations required, write
|
|
254
283
|
your `boto3` code as usual.
|
|
255
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
|
+
|
|
256
310
|
<a id="explicit-type-annotations"></a>
|
|
257
311
|
|
|
258
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.93](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.8.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-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.93' mypy_boto3_builder`
|
|
75
|
+
2. Select `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 2025 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 2025 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 2025 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -9,14 +11,14 @@ def print_info() -> None:
|
|
|
9
11
|
"""
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
|
-
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 Batch 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\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
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
20
22
|
)
|
|
21
23
|
|
|
22
24
|
|
|
@@ -24,7 +26,7 @@ def print_version() -> None:
|
|
|
24
26
|
"""
|
|
25
27
|
Print package version to stdout.
|
|
26
28
|
"""
|
|
27
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|
|
@@ -32,7 +34,8 @@ def main() -> None:
|
|
|
32
34
|
Main CLI entrypoint.
|
|
33
35
|
"""
|
|
34
36
|
if "--version" in sys.argv:
|
|
35
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
36
39
|
print_info()
|
|
37
40
|
|
|
38
41
|
|