mypy-boto3-waf-regional 1.34.153__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.
Potentially problematic release.
This version of mypy-boto3-waf-regional might be problematic. Click here for more details.
- mypy_boto3_waf_regional/__init__.py +3 -0
- mypy_boto3_waf_regional/__init__.pyi +2 -0
- mypy_boto3_waf_regional/__main__.py +11 -8
- mypy_boto3_waf_regional/client.py +403 -333
- mypy_boto3_waf_regional/client.pyi +402 -332
- mypy_boto3_waf_regional/literals.py +31 -8
- mypy_boto3_waf_regional/literals.pyi +29 -8
- mypy_boto3_waf_regional/type_defs.py +1304 -1696
- mypy_boto3_waf_regional/type_defs.pyi +1084 -1693
- mypy_boto3_waf_regional/version.py +3 -1
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/METADATA +80 -25
- mypy_boto3_waf_regional-1.35.93.dist-info/RECORD +16 -0
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_waf_regional-1.34.153.dist-info/RECORD +0 -16
- {mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/top_level.txt +0 -0
{mypy_boto3_waf_regional-1.34.153.dist-info → mypy_boto3_waf_regional-1.35.93.dist-info}/METADATA
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-waf-regional
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 WAFRegional 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_waf_regional/
|
|
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 waf-regional type-annotations
|
|
12
|
+
Keywords: boto3 waf-regional 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-waf-regional"></a>
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-waf-regional
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-waf-regional)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-waf-regional)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-waf-regional/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-waf-regional/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-waf-regional)
|
|
42
43
|
|
|
43
44
|

|
|
44
45
|
|
|
45
46
|
Type annotations for
|
|
46
|
-
[boto3
|
|
47
|
-
|
|
47
|
+
[boto3 WAFRegional 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
|
|
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-waf-regional docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_waf_regional/).
|
|
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-waf-regional](#mypy-boto3-waf-regional)
|
|
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
|
- [Literals](#literals)
|
|
@@ -92,6 +95,21 @@ See how it helps to find and fix potential bugs:
|
|
|
92
95
|
|
|
93
96
|
## How to install
|
|
94
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 `WAFRegional` service.
|
|
111
|
+
4. Use provided commands to install generated packages.
|
|
112
|
+
|
|
95
113
|
<a id="vscode-extension"></a>
|
|
96
114
|
|
|
97
115
|
### VSCode extension
|
|
@@ -112,12 +130,10 @@ Install `boto3-stubs` for `WAFRegional` service.
|
|
|
112
130
|
# install with boto3 type annotations
|
|
113
131
|
python -m pip install 'boto3-stubs[waf-regional]'
|
|
114
132
|
|
|
115
|
-
|
|
116
133
|
# Lite version does not provide session.client/resource overloads
|
|
117
134
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
118
135
|
python -m pip install 'boto3-stubs-lite[waf-regional]'
|
|
119
136
|
|
|
120
|
-
|
|
121
137
|
# standalone installation
|
|
122
138
|
python -m pip install mypy-boto3-waf-regional
|
|
123
139
|
```
|
|
@@ -156,16 +172,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
156
172
|
|
|
157
173
|
### PyCharm
|
|
158
174
|
|
|
159
|
-
|
|
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/):
|
|
160
187
|
|
|
161
188
|
```bash
|
|
162
|
-
|
|
189
|
+
pip uninstall boto3-stubs
|
|
190
|
+
pip install boto3-stubs-lite
|
|
163
191
|
```
|
|
164
192
|
|
|
165
|
-
|
|
166
|
-
annotations **are required**.
|
|
193
|
+
Install `boto3-stubs[waf-regional]` in your environment:
|
|
167
194
|
|
|
168
|
-
|
|
195
|
+
```bash
|
|
196
|
+
python -m pip install 'boto3-stubs[waf-regional]'
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Both type checking and code completion should now work.
|
|
169
200
|
|
|
170
201
|
<a id="emacs"></a>
|
|
171
202
|
|
|
@@ -230,7 +261,7 @@ should work.
|
|
|
230
261
|
- Install `boto3-stubs[waf-regional]` in your environment:
|
|
231
262
|
|
|
232
263
|
```bash
|
|
233
|
-
python -m pip install 'boto3-stubs[waf-regional]'
|
|
264
|
+
python -m pip install 'boto3-stubs[waf-regional]'
|
|
234
265
|
```
|
|
235
266
|
|
|
236
267
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -247,11 +278,36 @@ your `boto3` code as usual.
|
|
|
247
278
|
python -m pip install 'boto3-stubs[waf-regional]'
|
|
248
279
|
```
|
|
249
280
|
|
|
250
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
281
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
251
282
|
|
|
252
283
|
Type checking should now work. No explicit type annotations required, write
|
|
253
284
|
your `boto3` code as usual.
|
|
254
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-waf-regional` dependency in production. However, there is an issue
|
|
292
|
+
in `pylint` that it complains about undefined variables. To fix it, set all
|
|
293
|
+
types 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
|
+
|
|
255
311
|
<a id="explicit-type-annotations"></a>
|
|
256
312
|
|
|
257
313
|
## Explicit type annotations
|
|
@@ -321,8 +377,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
321
377
|
annotations extracted from `botocore` schemas.
|
|
322
378
|
- Type annotations include up-to-date documentation.
|
|
323
379
|
- Link to documentation is provided for every method.
|
|
324
|
-
- Code is processed by [
|
|
325
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
380
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
326
381
|
|
|
327
382
|
<a id="what's-new"></a>
|
|
328
383
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
mypy_boto3_waf_regional/__init__.py,sha256=CroCINbB3cgDk9jRl6tAlom_2-QEhuEDLKZUw14XZJY,440
|
|
2
|
+
mypy_boto3_waf_regional/__init__.pyi,sha256=RKhnbiuT9fnSjtDHTp_QKuuRjlbZH4a_4BmPcBobERk,439
|
|
3
|
+
mypy_boto3_waf_regional/__main__.py,sha256=nVamEsGM8airs3gsN_r_zc5rgZzqwZg8cqDwXieHY1c,1001
|
|
4
|
+
mypy_boto3_waf_regional/client.py,sha256=7X9IKRbN1awb3Gm5DgzSdDiggqLfsYhQ0R6DWxUwa8s,52406
|
|
5
|
+
mypy_boto3_waf_regional/client.pyi,sha256=8Psl4ooaB4ZynQFXmoCV1VGOwe4A3T-BQhKzpQwXazI,52403
|
|
6
|
+
mypy_boto3_waf_regional/literals.py,sha256=kz_c36bD3yLoVSr3AYJ6WONuek3O0DH40VzpcxAanak,13405
|
|
7
|
+
mypy_boto3_waf_regional/literals.pyi,sha256=4ofkiMQC8fIKSRqwcTgbgEBUOwaH3Yw59hjCe2xWk00,13403
|
|
8
|
+
mypy_boto3_waf_regional/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
mypy_boto3_waf_regional/type_defs.py,sha256=GKOgBGwtGa1Dt8G-38SrqTpRFpXxG41E8TtaDK00QVA,38190
|
|
10
|
+
mypy_boto3_waf_regional/type_defs.pyi,sha256=7QDN5rUXhRcRRd4X9RnXxlPgqsgtP2akL_sXKP78Bq8,37973
|
|
11
|
+
mypy_boto3_waf_regional/version.py,sha256=n6wyMBvI3Tp0INYol4fUJ84y0BqM9ti-SkLRGfsif5s,93
|
|
12
|
+
mypy_boto3_waf_regional-1.35.93.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
13
|
+
mypy_boto3_waf_regional-1.35.93.dist-info/METADATA,sha256=0AowYIMWmnIV7Xta1TGCJvS-S4YKsyrXdU8xwq5RFrk,14134
|
|
14
|
+
mypy_boto3_waf_regional-1.35.93.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
15
|
+
mypy_boto3_waf_regional-1.35.93.dist-info/top_level.txt,sha256=JjdM6Qw2d2OAcuHG7aTcw86B81MzN4HHktN5AMMi4Tg,24
|
|
16
|
+
mypy_boto3_waf_regional-1.35.93.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
mypy_boto3_waf_regional/__init__.py,sha256=t4q47ur09JlRlBSrBJLg-QIJhIWKxTQk4aSt9__GAbQ,408
|
|
2
|
-
mypy_boto3_waf_regional/__init__.pyi,sha256=t4q47ur09JlRlBSrBJLg-QIJhIWKxTQk4aSt9__GAbQ,408
|
|
3
|
-
mypy_boto3_waf_regional/__main__.py,sha256=rcj6pHeQciK681gq0YzjxW_vkxOoG2d5bT1jTttXLlA,940
|
|
4
|
-
mypy_boto3_waf_regional/client.py,sha256=HFdWHphLDjGQDtHxsm_2yKsjxn4083lhoD473wj4ZIc,46240
|
|
5
|
-
mypy_boto3_waf_regional/client.pyi,sha256=nZlJLaZAy9nkpdiJUyUtfYzck-qkcHY1u-xcPsoL2uA,46237
|
|
6
|
-
mypy_boto3_waf_regional/literals.py,sha256=cGRq6uiaeO6gXWGdcpT-xJNu0T9Nr6xhl9g2Q5KI-4Q,12936
|
|
7
|
-
mypy_boto3_waf_regional/literals.pyi,sha256=cGRq6uiaeO6gXWGdcpT-xJNu0T9Nr6xhl9g2Q5KI-4Q,12936
|
|
8
|
-
mypy_boto3_waf_regional/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
mypy_boto3_waf_regional/type_defs.py,sha256=x5_vjwetNrZQR40gP1DNVkyp8JqIgREOgig7RCpbCPk,51529
|
|
10
|
-
mypy_boto3_waf_regional/type_defs.pyi,sha256=x5_vjwetNrZQR40gP1DNVkyp8JqIgREOgig7RCpbCPk,51529
|
|
11
|
-
mypy_boto3_waf_regional/version.py,sha256=Y3Az_xI_VqUAMYplHd4BGyZoCnxUawDnPhv2QNfYiQw,63
|
|
12
|
-
mypy_boto3_waf_regional-1.34.153.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
13
|
-
mypy_boto3_waf_regional-1.34.153.dist-info/METADATA,sha256=014HiYw5GXTqmQjSf9KjmzGc_3V7d77nBplrRDC5-20,12312
|
|
14
|
-
mypy_boto3_waf_regional-1.34.153.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
15
|
-
mypy_boto3_waf_regional-1.34.153.dist-info/top_level.txt,sha256=JjdM6Qw2d2OAcuHG7aTcw86B81MzN4HHktN5AMMi4Tg,24
|
|
16
|
-
mypy_boto3_waf_regional-1.34.153.dist-info/RECORD,,
|
|
File without changes
|