mypy-boto3-workspaces-web 1.35.23__py3-none-any.whl → 1.35.93__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_workspaces_web/__init__.py +11 -2
- mypy_boto3_workspaces_web/__init__.pyi +11 -2
- mypy_boto3_workspaces_web/__main__.py +11 -8
- mypy_boto3_workspaces_web/client.py +199 -109
- mypy_boto3_workspaces_web/client.pyi +199 -108
- mypy_boto3_workspaces_web/literals.py +32 -8
- mypy_boto3_workspaces_web/literals.pyi +32 -8
- mypy_boto3_workspaces_web/paginator.py +42 -14
- mypy_boto3_workspaces_web/paginator.pyi +40 -14
- mypy_boto3_workspaces_web/type_defs.py +1068 -1169
- mypy_boto3_workspaces_web/type_defs.pyi +912 -1169
- mypy_boto3_workspaces_web/version.py +3 -1
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/METADATA +84 -22
- mypy_boto3_workspaces_web-1.35.93.dist-info/RECORD +18 -0
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_workspaces_web-1.35.23.dist-info/RECORD +0 -18
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/top_level.txt +0 -0
{mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/METADATA
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-workspaces-web
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 WorkSpacesWeb 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_workspaces_web/
|
|
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 workspaces-web type-annotations
|
|
12
|
+
Keywords: boto3 workspaces-web 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,47 +23,49 @@ 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
|
|
29
30
|
Requires-Python: >=3.8
|
|
30
31
|
Description-Content-Type: text/markdown
|
|
31
32
|
License-File: LICENSE
|
|
32
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
33
34
|
|
|
34
35
|
<a id="mypy-boto3-workspaces-web"></a>
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-workspaces-web
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-workspaces-web)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-workspaces-web)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-workspaces-web/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-workspaces-web/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-workspaces-web)
|
|
42
43
|
|
|
43
44
|

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

|
|
64
65
|
|
|
65
66
|
- [mypy-boto3-workspaces-web](#mypy-boto3-workspaces-web)
|
|
66
67
|
- [How to install](#how-to-install)
|
|
68
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
69
|
- [VSCode extension](#vscode-extension)
|
|
68
70
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
71
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +77,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
77
|
- [Other IDEs](#other-ides)
|
|
76
78
|
- [mypy](#mypy)
|
|
77
79
|
- [pyright](#pyright)
|
|
80
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
81
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
82
|
- [Client annotations](#client-annotations)
|
|
80
83
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +96,21 @@ See how it helps to find and fix potential bugs:
|
|
|
93
96
|
|
|
94
97
|
## How to install
|
|
95
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.93' mypy_boto3_builder`
|
|
110
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
111
|
+
3. Add `WorkSpacesWeb` service.
|
|
112
|
+
4. Use provided commands to install generated packages.
|
|
113
|
+
|
|
96
114
|
<a id="vscode-extension"></a>
|
|
97
115
|
|
|
98
116
|
### VSCode extension
|
|
@@ -113,12 +131,10 @@ Install `boto3-stubs` for `WorkSpacesWeb` service.
|
|
|
113
131
|
# install with boto3 type annotations
|
|
114
132
|
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
115
133
|
|
|
116
|
-
|
|
117
134
|
# Lite version does not provide session.client/resource overloads
|
|
118
135
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
136
|
python -m pip install 'boto3-stubs-lite[workspaces-web]'
|
|
120
137
|
|
|
121
|
-
|
|
122
138
|
# standalone installation
|
|
123
139
|
python -m pip install mypy-boto3-workspaces-web
|
|
124
140
|
```
|
|
@@ -157,16 +173,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
173
|
|
|
158
174
|
### PyCharm
|
|
159
175
|
|
|
160
|
-
|
|
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/):
|
|
161
188
|
|
|
162
189
|
```bash
|
|
163
|
-
|
|
190
|
+
pip uninstall boto3-stubs
|
|
191
|
+
pip install boto3-stubs-lite
|
|
164
192
|
```
|
|
165
193
|
|
|
166
|
-
|
|
167
|
-
|
|
194
|
+
Install `boto3-stubs[workspaces-web]` in your environment:
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
198
|
+
```
|
|
168
199
|
|
|
169
|
-
|
|
200
|
+
Both type checking and code completion should now work.
|
|
170
201
|
|
|
171
202
|
<a id="emacs"></a>
|
|
172
203
|
|
|
@@ -253,6 +284,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
253
284
|
Type checking should now work. No explicit type annotations required, write
|
|
254
285
|
your `boto3` code as usual.
|
|
255
286
|
|
|
287
|
+
<a id="pylint-compatibility"></a>
|
|
288
|
+
|
|
289
|
+
### Pylint compatibility
|
|
290
|
+
|
|
291
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
292
|
+
`mypy-boto3-workspaces-web` dependency in production. However, there is an
|
|
293
|
+
issue in `pylint` that it complains about undefined variables. To fix it, set
|
|
294
|
+
all types to `object` in non-`TYPE_CHECKING` mode.
|
|
295
|
+
|
|
296
|
+
```python
|
|
297
|
+
from typing import TYPE_CHECKING
|
|
298
|
+
|
|
299
|
+
if TYPE_CHECKING:
|
|
300
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
301
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
302
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
303
|
+
else:
|
|
304
|
+
EC2Client = object
|
|
305
|
+
EC2ServiceResource = object
|
|
306
|
+
BundleTaskCompleteWaiter = object
|
|
307
|
+
DescribeVolumesPaginator = object
|
|
308
|
+
|
|
309
|
+
...
|
|
310
|
+
```
|
|
311
|
+
|
|
256
312
|
<a id="explicit-type-annotations"></a>
|
|
257
313
|
|
|
258
314
|
## Explicit type annotations
|
|
@@ -285,12 +341,18 @@ paginators.
|
|
|
285
341
|
from boto3.session import Session
|
|
286
342
|
|
|
287
343
|
from mypy_boto3_workspaces_web import WorkSpacesWebClient
|
|
288
|
-
from mypy_boto3_workspaces_web.paginator import
|
|
344
|
+
from mypy_boto3_workspaces_web.paginator import (
|
|
345
|
+
ListDataProtectionSettingsPaginator,
|
|
346
|
+
ListSessionsPaginator,
|
|
347
|
+
)
|
|
289
348
|
|
|
290
349
|
client: WorkSpacesWebClient = Session().client("workspaces-web")
|
|
291
350
|
|
|
292
351
|
# Explicit type annotations are optional here
|
|
293
352
|
# Types should be correctly discovered by mypy and IDEs
|
|
353
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator(
|
|
354
|
+
"list_data_protection_settings"
|
|
355
|
+
)
|
|
294
356
|
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
295
357
|
```
|
|
296
358
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
mypy_boto3_workspaces_web/__init__.py,sha256=XQiUoB4xBb_zQzt7-g36QP5x8G33HsdqKwEbBMI_XoM,926
|
|
2
|
+
mypy_boto3_workspaces_web/__init__.pyi,sha256=6JzzAIAQAAbEjl9dP0TAQYSCogRPdFERVndNGNu5Rp4,925
|
|
3
|
+
mypy_boto3_workspaces_web/__main__.py,sha256=UdxXUz6F4HQcoRUJMa86roIdCQa1LqjDZKn1G4vby2o,1009
|
|
4
|
+
mypy_boto3_workspaces_web/client.py,sha256=jclqNI4YjHk9UpCoMSLX0JxpditCgcF06_aXWWc9Vok,46039
|
|
5
|
+
mypy_boto3_workspaces_web/client.pyi,sha256=hMIszOUfG8tOXBrt1G0A7ABCBoxvtT6QExN6IpCyrzA,46036
|
|
6
|
+
mypy_boto3_workspaces_web/literals.py,sha256=YIZtnb3rVimCgVmK7fB3h9NInxAHhYrPoNIXOc1aWWg,10287
|
|
7
|
+
mypy_boto3_workspaces_web/literals.pyi,sha256=adccgeRkgCnSPSd5-JMkVGqvaUd-rWyS0D5VOubwYyw,10285
|
|
8
|
+
mypy_boto3_workspaces_web/paginator.py,sha256=RVLuKDlvR1YLsEUiYnlzjCfWAuMGuZOej610W0IFMiU,3715
|
|
9
|
+
mypy_boto3_workspaces_web/paginator.pyi,sha256=Eh7ewtRasnMEKDydywpUiLzJuEq6uWb7vgQRXDtWfsY,3708
|
|
10
|
+
mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_workspaces_web/type_defs.py,sha256=5Q12RzQiQOfnIe-QAxQ0NJJB8OjhOFmFE7ouuaRAie0,36263
|
|
12
|
+
mypy_boto3_workspaces_web/type_defs.pyi,sha256=vftc_p3czImOuGqY2eyUdiEH2Y4d7NekppBU1VcGyUg,36106
|
|
13
|
+
mypy_boto3_workspaces_web/version.py,sha256=n6wyMBvI3Tp0INYol4fUJ84y0BqM9ti-SkLRGfsif5s,93
|
|
14
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/METADATA,sha256=y87biaiyuC32mpxU4PkRO__GAyX0qOzhSg-j_vWRiqE,15140
|
|
16
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
17
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
|
|
18
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
mypy_boto3_workspaces_web/__init__.py,sha256=4X1dLXiua6AXrbTGRb0e8ELSvupLd1PeXAXdhWvlfc0,618
|
|
2
|
-
mypy_boto3_workspaces_web/__init__.pyi,sha256=RXcvS9dsUtvb6WmCqPOX2tnejHR5DEWsiW15P7WhM10,617
|
|
3
|
-
mypy_boto3_workspaces_web/__main__.py,sha256=LqZ5jewYSFm3mDCv6nr0d8fZNhtcTaIlzzCeo3fAxpA,944
|
|
4
|
-
mypy_boto3_workspaces_web/client.py,sha256=F5zzFTu2rzSkhwLqHrqojPYITwL_mF_lm9Ake2eYpGk,41893
|
|
5
|
-
mypy_boto3_workspaces_web/client.pyi,sha256=6bgELVMxJunkQnbsud31EW2-2gqNenjnI9197j7SaFo,41889
|
|
6
|
-
mypy_boto3_workspaces_web/literals.py,sha256=teD3P3XBEdi6_ktCIE4G7opDeqYT04lfams5MSN9WG0,9578
|
|
7
|
-
mypy_boto3_workspaces_web/literals.pyi,sha256=tXuxrK9UqJV_Or-eaAZoeNqkU2WWI0pMv_oLyn1jyms,9576
|
|
8
|
-
mypy_boto3_workspaces_web/paginator.py,sha256=iWePTrjZCt7bEiJw7c6t1WCIDSPoqeiu32YMXCZESmU,2039
|
|
9
|
-
mypy_boto3_workspaces_web/paginator.pyi,sha256=wWHdvMxVvV27h4PDFuanq6B_plIBaoDeWd_oxg755Yg,2034
|
|
10
|
-
mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_workspaces_web/type_defs.py,sha256=DtfBL1FtusVniVsv8Osrpg-3Z74h2kSymxbN2r4NR6E,40196
|
|
12
|
-
mypy_boto3_workspaces_web/type_defs.pyi,sha256=ZZB8ktJSc8WCl7c5lhbAu-2NK8UQZ3DNYMjvwqzmUH0,40195
|
|
13
|
-
mypy_boto3_workspaces_web/version.py,sha256=OsM-pA3Tz80aYKo3jTc6XhGP0lfxINV1LJIVtCRiQtg,62
|
|
14
|
-
mypy_boto3_workspaces_web-1.35.23.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
15
|
-
mypy_boto3_workspaces_web-1.35.23.dist-info/METADATA,sha256=qt_yeGcqzHEGu-vkQqJAEcT_-ePZ_zADlp-O3KHjE5A,13079
|
|
16
|
-
mypy_boto3_workspaces_web-1.35.23.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
17
|
-
mypy_boto3_workspaces_web-1.35.23.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
|
|
18
|
-
mypy_boto3_workspaces_web-1.35.23.dist-info/RECORD,,
|
|
File without changes
|