mypy-boto3-transfer 1.35.40__tar.gz → 1.35.84__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_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/PKG-INFO +78 -21
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/README.md +74 -18
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/__init__.pyi → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/__init__.py +7 -0
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/__init__.py → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/__init__.pyi +6 -1
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer/__main__.py +7 -5
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/client.pyi → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/client.py +285 -170
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/client.py → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/client.pyi +281 -174
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/literals.pyi → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/literals.py +38 -7
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/literals.py → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/literals.pyi +36 -9
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer/paginator.py +47 -25
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer/paginator.pyi +45 -25
- mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/type_defs.py +1681 -0
- mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/type_defs.pyi +1470 -0
- mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/version.py +7 -0
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/waiter.pyi → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/waiter.py +11 -4
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/waiter.py → mypy_boto3_transfer-1.35.84/mypy_boto3_transfer/waiter.pyi +6 -9
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer.egg-info/PKG-INFO +78 -21
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/setup.py +6 -3
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/type_defs.py +0 -1834
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/type_defs.pyi +0 -1833
- mypy_boto3_transfer-1.35.40/mypy_boto3_transfer/version.py +0 -5
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/LICENSE +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer/py.typed +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer.egg-info/not-zip-safe +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer.egg-info/requires.txt +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/mypy_boto3_transfer.egg-info/top_level.txt +0 -0
- {mypy_boto3_transfer-1.35.40 → mypy_boto3_transfer-1.35.84}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-transfer
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.84
|
|
4
|
+
Summary: Type annotations for boto3 Transfer 1.35.84 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_transfer/
|
|
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 transfer type-annotations
|
|
12
|
+
Keywords: boto3 transfer 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-transfer
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-transfer)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-transfer)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-transfer/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-transfer/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-transfer)
|
|
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 Transfer 1.35.84](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-transfer docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/).
|
|
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-transfer](#mypy-boto3-transfer)
|
|
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)
|
|
@@ -94,6 +96,21 @@ See how it helps to find and fix potential bugs:
|
|
|
94
96
|
|
|
95
97
|
## How to install
|
|
96
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.84' mypy_boto3_builder`
|
|
110
|
+
2. Select `boto3 (legacy boto3-stubs)` AWS SDK.
|
|
111
|
+
3. Add `Transfer` service.
|
|
112
|
+
4. Use provided commands to install generated packages.
|
|
113
|
+
|
|
97
114
|
<a id="vscode-extension"></a>
|
|
98
115
|
|
|
99
116
|
### VSCode extension
|
|
@@ -114,12 +131,10 @@ Install `boto3-stubs` for `Transfer` service.
|
|
|
114
131
|
# install with boto3 type annotations
|
|
115
132
|
python -m pip install 'boto3-stubs[transfer]'
|
|
116
133
|
|
|
117
|
-
|
|
118
134
|
# Lite version does not provide session.client/resource overloads
|
|
119
135
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
120
136
|
python -m pip install 'boto3-stubs-lite[transfer]'
|
|
121
137
|
|
|
122
|
-
|
|
123
138
|
# standalone installation
|
|
124
139
|
python -m pip install mypy-boto3-transfer
|
|
125
140
|
```
|
|
@@ -158,16 +173,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
158
173
|
|
|
159
174
|
### PyCharm
|
|
160
175
|
|
|
161
|
-
|
|
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/):
|
|
162
188
|
|
|
163
189
|
```bash
|
|
164
|
-
|
|
190
|
+
pip uninstall boto3-stubs
|
|
191
|
+
pip install boto3-stubs-lite
|
|
165
192
|
```
|
|
166
193
|
|
|
167
|
-
|
|
168
|
-
|
|
194
|
+
Install `boto3-stubs[transfer]` in your environment:
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
python -m pip install 'boto3-stubs[transfer]'
|
|
198
|
+
```
|
|
169
199
|
|
|
170
|
-
|
|
200
|
+
Both type checking and code completion should now work.
|
|
171
201
|
|
|
172
202
|
<a id="emacs"></a>
|
|
173
203
|
|
|
@@ -253,6 +283,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
253
283
|
Type checking should now work. No explicit type annotations required, write
|
|
254
284
|
your `boto3` code as usual.
|
|
255
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-transfer` 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
|
+
|
|
256
311
|
<a id="explicit-type-annotations"></a>
|
|
257
312
|
|
|
258
313
|
## Explicit type annotations
|
|
@@ -296,6 +351,7 @@ from mypy_boto3_transfer.paginator import (
|
|
|
296
351
|
ListServersPaginator,
|
|
297
352
|
ListTagsForResourcePaginator,
|
|
298
353
|
ListUsersPaginator,
|
|
354
|
+
ListWebAppsPaginator,
|
|
299
355
|
ListWorkflowsPaginator,
|
|
300
356
|
)
|
|
301
357
|
|
|
@@ -320,6 +376,7 @@ list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_pagi
|
|
|
320
376
|
"list_tags_for_resource"
|
|
321
377
|
)
|
|
322
378
|
list_users_paginator: ListUsersPaginator = client.get_paginator("list_users")
|
|
379
|
+
list_web_apps_paginator: ListWebAppsPaginator = client.get_paginator("list_web_apps")
|
|
323
380
|
list_workflows_paginator: ListWorkflowsPaginator = client.get_paginator("list_workflows")
|
|
324
381
|
```
|
|
325
382
|
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
# mypy-boto3-transfer
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/mypy-boto3-transfer)
|
|
6
|
-
[](https://pypi.org/project/mypy-boto3-transfer)
|
|
7
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
8
|
-
[](https://
|
|
5
|
+
[](https://pypi.org/project/mypy-boto3-transfer/)
|
|
6
|
+
[](https://pypi.org/project/mypy-boto3-transfer/)
|
|
7
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
8
|
+
[](https://pypistats.org/packages/mypy-boto3-transfer)
|
|
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 Transfer 1.35.84](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-transfer docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/).
|
|
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-transfer](#mypy-boto3-transfer)
|
|
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)
|
|
@@ -61,6 +62,21 @@ See how it helps to find and fix potential bugs:
|
|
|
61
62
|
|
|
62
63
|
## How to install
|
|
63
64
|
|
|
65
|
+
<a id="generate-locally-(recommended)"></a>
|
|
66
|
+
|
|
67
|
+
### Generate locally (recommended)
|
|
68
|
+
|
|
69
|
+
You can generate type annotations for `boto3` package locally with
|
|
70
|
+
`mypy_boto3_builder`. Use
|
|
71
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
72
|
+
isolation.
|
|
73
|
+
|
|
74
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
75
|
+
`uvx --with 'boto3==1.35.84' mypy_boto3_builder`
|
|
76
|
+
2. Select `boto3 (legacy boto3-stubs)` AWS SDK.
|
|
77
|
+
3. Add `Transfer` service.
|
|
78
|
+
4. Use provided commands to install generated packages.
|
|
79
|
+
|
|
64
80
|
<a id="vscode-extension"></a>
|
|
65
81
|
|
|
66
82
|
### VSCode extension
|
|
@@ -81,12 +97,10 @@ Install `boto3-stubs` for `Transfer` service.
|
|
|
81
97
|
# install with boto3 type annotations
|
|
82
98
|
python -m pip install 'boto3-stubs[transfer]'
|
|
83
99
|
|
|
84
|
-
|
|
85
100
|
# Lite version does not provide session.client/resource overloads
|
|
86
101
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
87
102
|
python -m pip install 'boto3-stubs-lite[transfer]'
|
|
88
103
|
|
|
89
|
-
|
|
90
104
|
# standalone installation
|
|
91
105
|
python -m pip install mypy-boto3-transfer
|
|
92
106
|
```
|
|
@@ -125,16 +139,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
125
139
|
|
|
126
140
|
### PyCharm
|
|
127
141
|
|
|
128
|
-
|
|
142
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
143
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
144
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
145
|
+
> the issue is resolved.
|
|
146
|
+
|
|
147
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
148
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
149
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
150
|
+
|
|
151
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
152
|
+
> `boto3-stubs` with
|
|
153
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
129
154
|
|
|
130
155
|
```bash
|
|
131
|
-
|
|
156
|
+
pip uninstall boto3-stubs
|
|
157
|
+
pip install boto3-stubs-lite
|
|
132
158
|
```
|
|
133
159
|
|
|
134
|
-
|
|
135
|
-
|
|
160
|
+
Install `boto3-stubs[transfer]` in your environment:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
python -m pip install 'boto3-stubs[transfer]'
|
|
164
|
+
```
|
|
136
165
|
|
|
137
|
-
|
|
166
|
+
Both type checking and code completion should now work.
|
|
138
167
|
|
|
139
168
|
<a id="emacs"></a>
|
|
140
169
|
|
|
@@ -220,6 +249,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
220
249
|
Type checking should now work. No explicit type annotations required, write
|
|
221
250
|
your `boto3` code as usual.
|
|
222
251
|
|
|
252
|
+
<a id="pylint-compatibility"></a>
|
|
253
|
+
|
|
254
|
+
### Pylint compatibility
|
|
255
|
+
|
|
256
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
257
|
+
`mypy-boto3-transfer` dependency in production. However, there is an issue in
|
|
258
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
259
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
260
|
+
|
|
261
|
+
```python
|
|
262
|
+
from typing import TYPE_CHECKING
|
|
263
|
+
|
|
264
|
+
if TYPE_CHECKING:
|
|
265
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
266
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
267
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
268
|
+
else:
|
|
269
|
+
EC2Client = object
|
|
270
|
+
EC2ServiceResource = object
|
|
271
|
+
BundleTaskCompleteWaiter = object
|
|
272
|
+
DescribeVolumesPaginator = object
|
|
273
|
+
|
|
274
|
+
...
|
|
275
|
+
```
|
|
276
|
+
|
|
223
277
|
<a id="explicit-type-annotations"></a>
|
|
224
278
|
|
|
225
279
|
## Explicit type annotations
|
|
@@ -263,6 +317,7 @@ from mypy_boto3_transfer.paginator import (
|
|
|
263
317
|
ListServersPaginator,
|
|
264
318
|
ListTagsForResourcePaginator,
|
|
265
319
|
ListUsersPaginator,
|
|
320
|
+
ListWebAppsPaginator,
|
|
266
321
|
ListWorkflowsPaginator,
|
|
267
322
|
)
|
|
268
323
|
|
|
@@ -287,6 +342,7 @@ list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_pagi
|
|
|
287
342
|
"list_tags_for_resource"
|
|
288
343
|
)
|
|
289
344
|
list_users_paginator: ListUsersPaginator = client.get_paginator("list_users")
|
|
345
|
+
list_web_apps_paginator: ListWebAppsPaginator = client.get_paginator("list_web_apps")
|
|
290
346
|
list_workflows_paginator: ListWorkflowsPaginator = client.get_paginator("list_workflows")
|
|
291
347
|
```
|
|
292
348
|
|
|
@@ -18,6 +18,7 @@ Usage::
|
|
|
18
18
|
ListServersPaginator,
|
|
19
19
|
ListTagsForResourcePaginator,
|
|
20
20
|
ListUsersPaginator,
|
|
21
|
+
ListWebAppsPaginator,
|
|
21
22
|
ListWorkflowsPaginator,
|
|
22
23
|
ServerOfflineWaiter,
|
|
23
24
|
ServerOnlineWaiter,
|
|
@@ -41,8 +42,11 @@ Usage::
|
|
|
41
42
|
list_servers_paginator: ListServersPaginator = client.get_paginator("list_servers")
|
|
42
43
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
43
44
|
list_users_paginator: ListUsersPaginator = client.get_paginator("list_users")
|
|
45
|
+
list_web_apps_paginator: ListWebAppsPaginator = client.get_paginator("list_web_apps")
|
|
44
46
|
list_workflows_paginator: ListWorkflowsPaginator = client.get_paginator("list_workflows")
|
|
45
47
|
```
|
|
48
|
+
|
|
49
|
+
Copyright 2024 Vlad Emelianov
|
|
46
50
|
"""
|
|
47
51
|
|
|
48
52
|
from .client import TransferClient
|
|
@@ -58,12 +62,14 @@ from .paginator import (
|
|
|
58
62
|
ListServersPaginator,
|
|
59
63
|
ListTagsForResourcePaginator,
|
|
60
64
|
ListUsersPaginator,
|
|
65
|
+
ListWebAppsPaginator,
|
|
61
66
|
ListWorkflowsPaginator,
|
|
62
67
|
)
|
|
63
68
|
from .waiter import ServerOfflineWaiter, ServerOnlineWaiter
|
|
64
69
|
|
|
65
70
|
Client = TransferClient
|
|
66
71
|
|
|
72
|
+
|
|
67
73
|
__all__ = (
|
|
68
74
|
"Client",
|
|
69
75
|
"ListAccessesPaginator",
|
|
@@ -77,6 +83,7 @@ __all__ = (
|
|
|
77
83
|
"ListServersPaginator",
|
|
78
84
|
"ListTagsForResourcePaginator",
|
|
79
85
|
"ListUsersPaginator",
|
|
86
|
+
"ListWebAppsPaginator",
|
|
80
87
|
"ListWorkflowsPaginator",
|
|
81
88
|
"ServerOfflineWaiter",
|
|
82
89
|
"ServerOnlineWaiter",
|
|
@@ -18,6 +18,7 @@ Usage::
|
|
|
18
18
|
ListServersPaginator,
|
|
19
19
|
ListTagsForResourcePaginator,
|
|
20
20
|
ListUsersPaginator,
|
|
21
|
+
ListWebAppsPaginator,
|
|
21
22
|
ListWorkflowsPaginator,
|
|
22
23
|
ServerOfflineWaiter,
|
|
23
24
|
ServerOnlineWaiter,
|
|
@@ -41,8 +42,11 @@ Usage::
|
|
|
41
42
|
list_servers_paginator: ListServersPaginator = client.get_paginator("list_servers")
|
|
42
43
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
43
44
|
list_users_paginator: ListUsersPaginator = client.get_paginator("list_users")
|
|
45
|
+
list_web_apps_paginator: ListWebAppsPaginator = client.get_paginator("list_web_apps")
|
|
44
46
|
list_workflows_paginator: ListWorkflowsPaginator = client.get_paginator("list_workflows")
|
|
45
47
|
```
|
|
48
|
+
|
|
49
|
+
Copyright 2024 Vlad Emelianov
|
|
46
50
|
"""
|
|
47
51
|
|
|
48
52
|
from .client import TransferClient
|
|
@@ -58,13 +62,13 @@ from .paginator import (
|
|
|
58
62
|
ListServersPaginator,
|
|
59
63
|
ListTagsForResourcePaginator,
|
|
60
64
|
ListUsersPaginator,
|
|
65
|
+
ListWebAppsPaginator,
|
|
61
66
|
ListWorkflowsPaginator,
|
|
62
67
|
)
|
|
63
68
|
from .waiter import ServerOfflineWaiter, ServerOnlineWaiter
|
|
64
69
|
|
|
65
70
|
Client = TransferClient
|
|
66
71
|
|
|
67
|
-
|
|
68
72
|
__all__ = (
|
|
69
73
|
"Client",
|
|
70
74
|
"ListAccessesPaginator",
|
|
@@ -78,6 +82,7 @@ __all__ = (
|
|
|
78
82
|
"ListServersPaginator",
|
|
79
83
|
"ListTagsForResourcePaginator",
|
|
80
84
|
"ListUsersPaginator",
|
|
85
|
+
"ListWebAppsPaginator",
|
|
81
86
|
"ListWorkflowsPaginator",
|
|
82
87
|
"ServerOfflineWaiter",
|
|
83
88
|
"ServerOnlineWaiter",
|
|
@@ -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 Transfer 1.35.84\n"
|
|
16
|
+
"Version: 1.35.84\n"
|
|
17
|
+
"Builder version: 8.6.4\n"
|
|
16
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer//\n"
|
|
17
|
-
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer.html#
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer.html#transfer\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.84")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|