mypy-boto3-workspaces-web 1.35.0__py3-none-any.whl → 1.35.66__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 2024 Vlad Emelianov
3
5
  """
4
6
 
5
- __version__ = "1.35.0"
7
+ __version__ = "1.35.66"
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-workspaces-web
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.WorkSpacesWeb 1.35.0 service generated with mypy-boto3-builder 7.26.0
3
+ Version: 1.35.66
4
+ Summary: Type annotations for boto3 WorkSpacesWeb 1.35.66 service generated with mypy-boto3-builder 8.3.1
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
@@ -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,16 +36,16 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
35
36
 
36
37
  # mypy-boto3-workspaces-web
37
38
 
38
- [![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)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-workspaces-web.svg?color=blue)](https://pypi.org/project/mypy-boto3-workspaces-web)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-workspaces-web)](https://pepy.tech/project/mypy-boto3-workspaces-web)
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/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-workspaces-web)](https://pypistats.org/packages/mypy-boto3-workspaces-web)
42
43
 
43
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
45
 
45
46
  Type annotations for
46
- [boto3.WorkSpacesWeb 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
47
+ [boto3 WorkSpacesWeb 1.35.66](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/),
@@ -52,13 +53,13 @@ service compatible with [VSCode](https://code.visualstudio.com/),
52
53
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
54
 
54
55
  Generated by
55
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
56
+ [mypy-boto3-builder 8.3.1](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 to find and fix potential bugs:
62
+ See how it helps you find and fix potential bugs:
62
63
 
63
64
  ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
65
 
@@ -77,6 +78,7 @@ See how it helps to find and fix potential bugs:
77
78
  - [pyright](#pyright)
78
79
  - [Explicit type annotations](#explicit-type-annotations)
79
80
  - [Client annotations](#client-annotations)
81
+ - [Paginators annotations](#paginators-annotations)
80
82
  - [Literals](#literals)
81
83
  - [Type definitions](#type-definitions)
82
84
  - [How it works](#how-it-works)
@@ -156,16 +158,31 @@ annotations required, write your `boto3` code as usual.
156
158
 
157
159
  ### PyCharm
158
160
 
159
- Install `boto3-stubs-lite[workspaces-web]` in your environment:
161
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
162
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
163
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
164
+ > the issue is resolved.
165
+
166
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
167
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
168
+ > [pyright](https://github.com/microsoft/pyright) instead.
169
+
170
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
171
+ > `boto3-stubs` with
172
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
160
173
 
161
174
  ```bash
162
- python -m pip install 'boto3-stubs-lite[workspaces-web]'`
175
+ pip uninstall boto3-stubs
176
+ pip install boto3-stubs-lite
163
177
  ```
164
178
 
165
- Both type checking and code completion should now work. Explicit type
166
- annotations **are required**.
179
+ Install `boto3-stubs[workspaces-web]` in your environment:
180
+
181
+ ```bash
182
+ python -m pip install 'boto3-stubs[workspaces-web]'
183
+ ```
167
184
 
168
- Use `boto3-stubs` package instead for implicit type discovery.
185
+ Both type checking and code completion should now work.
169
186
 
170
187
  <a id="emacs"></a>
171
188
 
@@ -230,7 +247,7 @@ should work.
230
247
  - Install `boto3-stubs[workspaces-web]` in your environment:
231
248
 
232
249
  ```bash
233
- python -m pip install 'boto3-stubs[workspaces-web]'`
250
+ python -m pip install 'boto3-stubs[workspaces-web]'
234
251
  ```
235
252
 
236
253
  Type checking should now work. No explicit type annotations required, write
@@ -247,7 +264,7 @@ your `boto3` code as usual.
247
264
  python -m pip install 'boto3-stubs[workspaces-web]'
248
265
  ```
249
266
 
250
- Optionally, you can install `boto3-stubs` to `typings` folder.
267
+ Optionally, you can install `boto3-stubs` to `typings` directory.
251
268
 
252
269
  Type checking should now work. No explicit type annotations required, write
253
270
  your `boto3` code as usual.
@@ -273,6 +290,32 @@ client: WorkSpacesWebClient = Session().client("workspaces-web")
273
290
  # now client usage is checked by mypy and IDE should provide code completion
274
291
  ```
275
292
 
293
+ <a id="paginators-annotations"></a>
294
+
295
+ ### Paginators annotations
296
+
297
+ `mypy_boto3_workspaces_web.paginator` module contains type annotations for all
298
+ paginators.
299
+
300
+ ```python
301
+ from boto3.session import Session
302
+
303
+ from mypy_boto3_workspaces_web import WorkSpacesWebClient
304
+ from mypy_boto3_workspaces_web.paginator import (
305
+ ListDataProtectionSettingsPaginator,
306
+ ListSessionsPaginator,
307
+ )
308
+
309
+ client: WorkSpacesWebClient = Session().client("workspaces-web")
310
+
311
+ # Explicit type annotations are optional here
312
+ # Types should be correctly discovered by mypy and IDEs
313
+ list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator(
314
+ "list_data_protection_settings"
315
+ )
316
+ list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
317
+ ```
318
+
276
319
  <a id="literals"></a>
277
320
 
278
321
  ### Literals
@@ -322,8 +365,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
322
365
  annotations extracted from `botocore` schemas.
323
366
  - Type annotations include up-to-date documentation.
324
367
  - Link to documentation is provided for every method.
325
- - Code is processed by [black](https://github.com/psf/black) and
326
- [isort](https://github.com/PyCQA/isort) for readability.
368
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
327
369
 
328
370
  <a id="what's-new"></a>
329
371
 
@@ -0,0 +1,18 @@
1
+ mypy_boto3_workspaces_web/__init__.py,sha256=ypWGRagIgU3YdxYVqvkPmTPUz5hZDBAqwydbYIJnDTY,926
2
+ mypy_boto3_workspaces_web/__init__.pyi,sha256=k-fCZ9JEZ9iLDNTXFOGpYlo6FGkXy6Pc7f0fj76Zim8,925
3
+ mypy_boto3_workspaces_web/__main__.py,sha256=3RmnUVsIAP6_2cIdr-_zY6w7aUg5x_vOg3XX4ngAc_o,975
4
+ mypy_boto3_workspaces_web/client.py,sha256=iR9YYOnWWSLcjZrnsi3tpZdQtuxQNZCywMTupQGcZdY,46199
5
+ mypy_boto3_workspaces_web/client.pyi,sha256=vCWz6FYTa3s4qB8c8nslgHaqzRUlPHlHnaEoC16PDDw,46195
6
+ mypy_boto3_workspaces_web/literals.py,sha256=VUTKvwQC_iAilvQnRvVSWdacQn8l9eM7tNxVkHwDTsY,10006
7
+ mypy_boto3_workspaces_web/literals.pyi,sha256=gIeR5f5pMwg2_XL52Jw1QDo0boHdfHkMuCvtL9Kjl0M,10004
8
+ mypy_boto3_workspaces_web/paginator.py,sha256=W983SQygm3993LTg5H8qJ2bh1z4qMV44xRt9oYnP-Y4,3553
9
+ mypy_boto3_workspaces_web/paginator.pyi,sha256=kDN15CkEMltNax_yzYQ2Q4_Ait3vZ0JrezeE1kppVjE,3546
10
+ mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ mypy_boto3_workspaces_web/type_defs.py,sha256=azG6_Z1TKR1UVJ5Ey5sljP9HREIEvFCfWCVM0yyvSxs,36123
12
+ mypy_boto3_workspaces_web/type_defs.pyi,sha256=B7IxWJmCxPtLBxmowuGkhz1WnrjRQRcVqcdpf67OzLM,35966
13
+ mypy_boto3_workspaces_web/version.py,sha256=gXX489ynhaCMOxkZOSF9ZQSKOQWaCKoLllrmVfJZBCk,93
14
+ mypy_boto3_workspaces_web-1.35.66.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
15
+ mypy_boto3_workspaces_web-1.35.66.dist-info/METADATA,sha256=Fi9HdCaLm9YWJ4UjaYxq_R2jcIadG_TQpuFHg_BOhnw,13796
16
+ mypy_boto3_workspaces_web-1.35.66.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
+ mypy_boto3_workspaces_web-1.35.66.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
18
+ mypy_boto3_workspaces_web-1.35.66.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.2.0)
2
+ Generator: setuptools (75.6.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=_PceDoM-MgG7nsoy7NRSHaMfNajMR3LFUxZDl6B4ozo,424
2
- mypy_boto3_workspaces_web/__init__.pyi,sha256=_PceDoM-MgG7nsoy7NRSHaMfNajMR3LFUxZDl6B4ozo,424
3
- mypy_boto3_workspaces_web/__main__.py,sha256=wYjS4NMM_T-yVtIu455O7oTIEga0WyGDqA3HVc2YwZY,942
4
- mypy_boto3_workspaces_web/client.py,sha256=qWWpttY8rc7JWXJ7ZlhAs6HQVUNv3yyofV0abhx2Wqg,38593
5
- mypy_boto3_workspaces_web/client.pyi,sha256=5GmcNQAzQ7Q5yYlr7a4x5lNXUplt08Mvkb89ls-z09c,38590
6
- mypy_boto3_workspaces_web/literals.py,sha256=izSaOPhVhDAK7J0HMyULKmK8eK5yfSR2YA5NHl6cjEA,9243
7
- mypy_boto3_workspaces_web/literals.pyi,sha256=izSaOPhVhDAK7J0HMyULKmK8eK5yfSR2YA5NHl6cjEA,9243
8
- mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- mypy_boto3_workspaces_web/type_defs.py,sha256=b89nPPlrAYmyN-yCAYEbPS1SnfsVLwi8JBttI97eKp4,37836
10
- mypy_boto3_workspaces_web/type_defs.pyi,sha256=b89nPPlrAYmyN-yCAYEbPS1SnfsVLwi8JBttI97eKp4,37836
11
- mypy_boto3_workspaces_web/version.py,sha256=LGeN8DOPs0tRcJcxZVxCtqSh0iyZT7lFggGF3KkSqhA,61
12
- mypy_boto3_workspaces_web-1.35.0.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
13
- mypy_boto3_workspaces_web-1.35.0.dist-info/METADATA,sha256=mRGRuUTUyRadAxLkLicm2VLiUDbr8FXjYAGgwaegD3o,12476
14
- mypy_boto3_workspaces_web-1.35.0.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
15
- mypy_boto3_workspaces_web-1.35.0.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
16
- mypy_boto3_workspaces_web-1.35.0.dist-info/RECORD,,