mypy-boto3-workspaces-web 1.34.0__py3-none-any.whl → 1.36.0__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.
@@ -1,5 +1,7 @@
1
1
  """
2
2
  Source of truth for version.
3
+
4
+ Copyright 2025 Vlad Emelianov
3
5
  """
4
6
 
5
- __version__ = "1.34.0"
7
+ __version__ = "1.36.0"
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Vlad Emelianov
3
+ Copyright (c) 2025 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: mypy-boto3-workspaces-web
3
- Version: 1.34.0
4
- Summary: Type annotations for boto3.WorkSpacesWeb 1.34.0 service generated with mypy-boto3-builder 7.21.0
3
+ Version: 1.36.0
4
+ Summary: Type annotations for boto3 WorkSpacesWeb 1.36.0 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 botocore mypy typeshed autocomplete
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
@@ -17,54 +17,67 @@ Classifier: License :: OSI Approved :: MIT License
17
17
  Classifier: Natural Language :: English
18
18
  Classifier: Operating System :: OS Independent
19
19
  Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.7
21
20
  Classifier: Programming Language :: Python :: 3.8
22
21
  Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Programming Language :: Python :: 3 :: Only
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
- Classifier: Typing :: Typed
30
- Requires-Python: >=3.7
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
31
  Description-Content-Type: text/markdown
32
32
  License-File: LICENSE
33
- Requires-Dist: typing-extensions >=4.1.0 ; python_version < "3.12"
33
+ Requires-Dist: typing-extensions; python_version < "3.12"
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: project-url
43
+ Dynamic: requires-dist
44
+ Dynamic: requires-python
45
+ Dynamic: summary
34
46
 
35
47
  <a id="mypy-boto3-workspaces-web"></a>
36
48
 
37
49
  # mypy-boto3-workspaces-web
38
50
 
39
- [![PyPI - mypy-boto3-workspaces-web](https://img.shields.io/pypi/v/mypy-boto3-workspaces-web.svg?color=blue)](https://pypi.org/project/mypy-boto3-workspaces-web)
40
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-workspaces-web.svg?color=blue)](https://pypi.org/project/mypy-boto3-workspaces-web)
41
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/)
42
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-workspaces-web)](https://pepy.tech/project/mypy-boto3-workspaces-web)
51
+ [![PyPI - mypy-boto3-workspaces-web](https://img.shields.io/pypi/v/mypy-boto3-workspaces-web.svg?color=blue)](https://pypi.org/project/mypy-boto3-workspaces-web/)
52
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-workspaces-web.svg?color=blue)](https://pypi.org/project/mypy-boto3-workspaces-web/)
53
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
54
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-workspaces-web)](https://pypistats.org/packages/mypy-boto3-workspaces-web)
43
55
 
44
56
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
57
 
46
58
  Type annotations for
47
- [boto3.WorkSpacesWeb 1.34.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb)
48
- service compatible with [VSCode](https://code.visualstudio.com/),
59
+ [boto3 WorkSpacesWeb 1.36.0](https://pypi.org/project/boto3/) compatible with
60
+ [VSCode](https://code.visualstudio.com/),
49
61
  [PyCharm](https://www.jetbrains.com/pycharm/),
50
62
  [Emacs](https://www.gnu.org/software/emacs/),
51
63
  [Sublime Text](https://www.sublimetext.com/),
52
64
  [mypy](https://github.com/python/mypy),
53
65
  [pyright](https://github.com/microsoft/pyright) and other tools.
54
66
 
55
- Generated by
56
- [mypy-boto3-builder 7.21.0](https://github.com/youtype/mypy_boto3_builder).
67
+ Generated with
68
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
57
69
 
58
70
  More information can be found on
59
71
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
60
72
  [mypy-boto3-workspaces-web docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/).
61
73
 
62
- See how it helps to find and fix potential bugs:
74
+ See how it helps you find and fix potential bugs:
63
75
 
64
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
76
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
77
 
66
78
  - [mypy-boto3-workspaces-web](#mypy-boto3-workspaces-web)
67
79
  - [How to install](#how-to-install)
80
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
68
81
  - [VSCode extension](#vscode-extension)
69
82
  - [From PyPI with pip](#from-pypi-with-pip)
70
83
  - [How to uninstall](#how-to-uninstall)
@@ -76,8 +89,10 @@ See how it helps to find and fix potential bugs:
76
89
  - [Other IDEs](#other-ides)
77
90
  - [mypy](#mypy)
78
91
  - [pyright](#pyright)
92
+ - [Pylint compatibility](#pylint-compatibility)
79
93
  - [Explicit type annotations](#explicit-type-annotations)
80
94
  - [Client annotations](#client-annotations)
95
+ - [Paginators annotations](#paginators-annotations)
81
96
  - [Literals](#literals)
82
97
  - [Type definitions](#type-definitions)
83
98
  - [How it works](#how-it-works)
@@ -93,6 +108,21 @@ See how it helps to find and fix potential bugs:
93
108
 
94
109
  ## How to install
95
110
 
111
+ <a id="generate-locally-(recommended)"></a>
112
+
113
+ ### Generate locally (recommended)
114
+
115
+ You can generate type annotations for `boto3` package locally with
116
+ `mypy_boto3_builder`. Use
117
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
118
+ isolation.
119
+
120
+ 1. Run mypy-boto3-builder in your package root directory:
121
+ `uvx --with 'boto3==1.36.0' mypy_boto3_builder`
122
+ 2. Select `boto3-stubs` AWS SDK.
123
+ 3. Add `WorkSpacesWeb` service.
124
+ 4. Use provided commands to install generated packages.
125
+
96
126
  <a id="vscode-extension"></a>
97
127
 
98
128
  ### VSCode extension
@@ -113,12 +143,10 @@ Install `boto3-stubs` for `WorkSpacesWeb` service.
113
143
  # install with boto3 type annotations
114
144
  python -m pip install 'boto3-stubs[workspaces-web]'
115
145
 
116
-
117
146
  # Lite version does not provide session.client/resource overloads
118
147
  # it is more RAM-friendly, but requires explicit type annotations
119
148
  python -m pip install 'boto3-stubs-lite[workspaces-web]'
120
149
 
121
-
122
150
  # standalone installation
123
151
  python -m pip install mypy-boto3-workspaces-web
124
152
  ```
@@ -157,16 +185,31 @@ annotations required, write your `boto3` code as usual.
157
185
 
158
186
  ### PyCharm
159
187
 
160
- Install `boto3-stubs-lite[workspaces-web]` in your environment:
188
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
189
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
190
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
191
+ > the issue is resolved.
192
+
193
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
194
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
195
+ > [pyright](https://github.com/microsoft/pyright) instead.
196
+
197
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
198
+ > `boto3-stubs` with
199
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
161
200
 
162
201
  ```bash
163
- python -m pip install 'boto3-stubs-lite[workspaces-web]'`
202
+ pip uninstall boto3-stubs
203
+ pip install boto3-stubs-lite
164
204
  ```
165
205
 
166
- Both type checking and code completion should now work. Explicit type
167
- annotations **are required**.
206
+ Install `boto3-stubs[workspaces-web]` in your environment:
168
207
 
169
- Use `boto3-stubs` package instead for implicit type discovery.
208
+ ```bash
209
+ python -m pip install 'boto3-stubs[workspaces-web]'
210
+ ```
211
+
212
+ Both type checking and code completion should now work.
170
213
 
171
214
  <a id="emacs"></a>
172
215
 
@@ -231,7 +274,7 @@ should work.
231
274
  - Install `boto3-stubs[workspaces-web]` in your environment:
232
275
 
233
276
  ```bash
234
- python -m pip install 'boto3-stubs[workspaces-web]'`
277
+ python -m pip install 'boto3-stubs[workspaces-web]'
235
278
  ```
236
279
 
237
280
  Type checking should now work. No explicit type annotations required, write
@@ -248,11 +291,36 @@ your `boto3` code as usual.
248
291
  python -m pip install 'boto3-stubs[workspaces-web]'
249
292
  ```
250
293
 
251
- Optionally, you can install `boto3-stubs` to `typings` folder.
294
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
295
 
253
296
  Type checking should now work. No explicit type annotations required, write
254
297
  your `boto3` code as usual.
255
298
 
299
+ <a id="pylint-compatibility"></a>
300
+
301
+ ### Pylint compatibility
302
+
303
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
304
+ `mypy-boto3-workspaces-web` dependency in production. However, there is an
305
+ issue in `pylint` that it complains about undefined variables. To fix it, set
306
+ all types to `object` in non-`TYPE_CHECKING` mode.
307
+
308
+ ```python
309
+ from typing import TYPE_CHECKING
310
+
311
+ if TYPE_CHECKING:
312
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
313
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
314
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
315
+ else:
316
+ EC2Client = object
317
+ EC2ServiceResource = object
318
+ BundleTaskCompleteWaiter = object
319
+ DescribeVolumesPaginator = object
320
+
321
+ ...
322
+ ```
323
+
256
324
  <a id="explicit-type-annotations"></a>
257
325
 
258
326
  ## Explicit type annotations
@@ -274,6 +342,32 @@ client: WorkSpacesWebClient = Session().client("workspaces-web")
274
342
  # now client usage is checked by mypy and IDE should provide code completion
275
343
  ```
276
344
 
345
+ <a id="paginators-annotations"></a>
346
+
347
+ ### Paginators annotations
348
+
349
+ `mypy_boto3_workspaces_web.paginator` module contains type annotations for all
350
+ paginators.
351
+
352
+ ```python
353
+ from boto3.session import Session
354
+
355
+ from mypy_boto3_workspaces_web import WorkSpacesWebClient
356
+ from mypy_boto3_workspaces_web.paginator import (
357
+ ListDataProtectionSettingsPaginator,
358
+ ListSessionsPaginator,
359
+ )
360
+
361
+ client: WorkSpacesWebClient = Session().client("workspaces-web")
362
+
363
+ # Explicit type annotations are optional here
364
+ # Types should be correctly discovered by mypy and IDEs
365
+ list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator(
366
+ "list_data_protection_settings"
367
+ )
368
+ list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
369
+ ```
370
+
277
371
  <a id="literals"></a>
278
372
 
279
373
  ### Literals
@@ -323,8 +417,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
323
417
  annotations extracted from `botocore` schemas.
324
418
  - Type annotations include up-to-date documentation.
325
419
  - Link to documentation is provided for every method.
326
- - Code is processed by [black](https://github.com/psf/black) and
327
- [isort](https://github.com/PyCQA/isort) for readability.
420
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
328
421
 
329
422
  <a id="what's-new"></a>
330
423
 
@@ -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=9489byRkAlLtoRnnfg8NtTNpd6QiQQMfc5Qxxhq6njk,1006
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=RGw08utwWDXRAaTux4pL_8HFDOWQWxutvTiUelZZu9s,10236
7
+ mypy_boto3_workspaces_web/literals.pyi,sha256=RsYwArmFKYiiS_EBrPmRJgTwiijc6YvvRclbBj-WMJM,10234
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=XqBLww9Ajk9GRr5oc1Ak2757Fsir4zxoRCWswSKh8Ro,92
14
+ mypy_boto3_workspaces_web-1.36.0.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
15
+ mypy_boto3_workspaces_web-1.36.0.dist-info/METADATA,sha256=7SGLIy1qU_flpJqKibFMiFxDDyr8KXXZ9wve07XpIhQ,15389
16
+ mypy_boto3_workspaces_web-1.36.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
17
+ mypy_boto3_workspaces_web-1.36.0.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
18
+ mypy_boto3_workspaces_web-1.36.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,16 +0,0 @@
1
- mypy_boto3_workspaces_web/__init__.py,sha256=LScVUIHiVVtbYLehdx0qCHg7h2xHLPsFazPfACCnrDU,425
2
- mypy_boto3_workspaces_web/__init__.pyi,sha256=_PceDoM-MgG7nsoy7NRSHaMfNajMR3LFUxZDl6B4ozo,424
3
- mypy_boto3_workspaces_web/__main__.py,sha256=a5IWfIwnJqkSrBnS_HbgSI1Z2i_xVBccdQ9vxp3IOvw,931
4
- mypy_boto3_workspaces_web/client.py,sha256=XL9QN6kmeyZRH7t2VZ0m_smExAq1FucH-k0cgw_Pxb0,38211
5
- mypy_boto3_workspaces_web/client.pyi,sha256=46TfmSUAF19w0W5FAzUd0PLIEdgMVpKTLdtVkNPg3FQ,38208
6
- mypy_boto3_workspaces_web/literals.py,sha256=jpbJ1ZfZP4ml91S-XoclpGsV_5IBOnA3cyhr-M9lr4M,8890
7
- mypy_boto3_workspaces_web/literals.pyi,sha256=2V18oB4nGVcUCIH-shR8C38iGlNH6hVa3ewaNLMquGY,8888
8
- mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- mypy_boto3_workspaces_web/type_defs.py,sha256=KoMCThU8wxldZOb2JTn1b8-Rwg6GU6xvotS3boMoQjM,36107
10
- mypy_boto3_workspaces_web/type_defs.pyi,sha256=s8BySrc1QsRWqGxwdhliYFRxNktyyBG7Peo8oa6Iyd8,36106
11
- mypy_boto3_workspaces_web/version.py,sha256=8Qbu8HOCjrY6O2_gOYfRFBCem64Ka_MtjvbfMGE_iFg,61
12
- mypy_boto3_workspaces_web-1.34.0.dist-info/LICENSE,sha256=v0rThCyxXzUO7rKg6RM8RmmNKO6EvsBx_mdNoXUPxAU,1070
13
- mypy_boto3_workspaces_web-1.34.0.dist-info/METADATA,sha256=gN7BVCOzPOYZr34JKBKEw-0a3tCkHcw7XTihXuZ0_eg,12523
14
- mypy_boto3_workspaces_web-1.34.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
15
- mypy_boto3_workspaces_web-1.34.0.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
16
- mypy_boto3_workspaces_web-1.34.0.dist-info/RECORD,,