mypy-boto3-dynamodb 1.35.60__py3-none-any.whl → 1.35.74__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_dynamodb/__init__.py +2 -0
- mypy_boto3_dynamodb/__init__.pyi +2 -0
- mypy_boto3_dynamodb/__main__.py +7 -5
- mypy_boto3_dynamodb/client.py +143 -155
- mypy_boto3_dynamodb/client.pyi +143 -155
- mypy_boto3_dynamodb/literals.py +15 -0
- mypy_boto3_dynamodb/literals.pyi +15 -0
- mypy_boto3_dynamodb/paginator.py +12 -10
- mypy_boto3_dynamodb/paginator.pyi +12 -10
- mypy_boto3_dynamodb/service_resource.py +79 -87
- mypy_boto3_dynamodb/service_resource.pyi +79 -87
- mypy_boto3_dynamodb/type_defs.py +6 -0
- mypy_boto3_dynamodb/type_defs.pyi +6 -0
- mypy_boto3_dynamodb/version.py +3 -1
- mypy_boto3_dynamodb/waiter.py +6 -4
- mypy_boto3_dynamodb/waiter.pyi +6 -4
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.74.dist-info}/METADATA +58 -18
- mypy_boto3_dynamodb-1.35.74.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.74.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.35.60.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.74.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.74.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-dynamodb
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.74
|
|
4
|
+
Summary: Type annotations for boto3 DynamoDB 1.35.74 service generated with mypy-boto3-builder 8.5.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_dynamodb/
|
|
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 dynamodb type-annotations
|
|
12
|
+
Keywords: boto3 dynamodb 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
|
|
@@ -36,16 +36,15 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
36
36
|
|
|
37
37
|
# mypy-boto3-dynamodb
|
|
38
38
|
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-dynamodb)
|
|
40
|
-
[](https://pypi.org/project/mypy-boto3-dynamodb)
|
|
41
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
42
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-dynamodb/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-dynamodb/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-dynamodb)
|
|
43
43
|
|
|
44
44
|

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

|
|
65
64
|
|
|
66
65
|
- [mypy-boto3-dynamodb](#mypy-boto3-dynamodb)
|
|
67
66
|
- [How to install](#how-to-install)
|
|
@@ -77,6 +76,7 @@ See how it helps to find and fix potential bugs:
|
|
|
77
76
|
- [Other IDEs](#other-ides)
|
|
78
77
|
- [mypy](#mypy)
|
|
79
78
|
- [pyright](#pyright)
|
|
79
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
80
80
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
81
81
|
- [Client annotations](#client-annotations)
|
|
82
82
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -189,16 +189,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
189
189
|
|
|
190
190
|
### PyCharm
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
193
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
194
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
195
|
+
> the issue is resolved.
|
|
196
|
+
|
|
197
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
198
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
199
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
200
|
+
|
|
201
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
202
|
+
> `boto3-stubs` with
|
|
203
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
193
204
|
|
|
194
205
|
```bash
|
|
195
|
-
|
|
206
|
+
pip uninstall boto3-stubs
|
|
207
|
+
pip install boto3-stubs-lite
|
|
196
208
|
```
|
|
197
209
|
|
|
198
|
-
|
|
199
|
-
|
|
210
|
+
Install `boto3-stubs[dynamodb]` in your environment:
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
python -m pip install 'boto3-stubs[dynamodb]'
|
|
214
|
+
```
|
|
200
215
|
|
|
201
|
-
|
|
216
|
+
Both type checking and code completion should now work.
|
|
202
217
|
|
|
203
218
|
<a id="emacs"></a>
|
|
204
219
|
|
|
@@ -284,6 +299,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
284
299
|
Type checking should now work. No explicit type annotations required, write
|
|
285
300
|
your `boto3` code as usual.
|
|
286
301
|
|
|
302
|
+
<a id="pylint-compatibility"></a>
|
|
303
|
+
|
|
304
|
+
### Pylint compatibility
|
|
305
|
+
|
|
306
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
307
|
+
`mypy-boto3-dynamodb` dependency in production. However, there is an issue in
|
|
308
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
309
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
310
|
+
|
|
311
|
+
```python
|
|
312
|
+
from typing import TYPE_CHECKING
|
|
313
|
+
|
|
314
|
+
if TYPE_CHECKING:
|
|
315
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
316
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
317
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
318
|
+
else:
|
|
319
|
+
EC2Client = object
|
|
320
|
+
EC2ServiceResource = object
|
|
321
|
+
BundleTaskCompleteWaiter = object
|
|
322
|
+
DescribeVolumesPaginator = object
|
|
323
|
+
|
|
324
|
+
...
|
|
325
|
+
```
|
|
326
|
+
|
|
287
327
|
<a id="explicit-type-annotations"></a>
|
|
288
328
|
|
|
289
329
|
## Explicit type annotations
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
mypy_boto3_dynamodb/__init__.py,sha256=IqnRdOxcPeGY5qqD4SnClnlWbQAhQaxI02l1_a5aYIo,1890
|
|
2
|
+
mypy_boto3_dynamodb/__init__.pyi,sha256=VuTYb1W4C1rI4Cqkx0Drv6XkC6jcZE5Av3LYL1k8b_8,1888
|
|
3
|
+
mypy_boto3_dynamodb/__main__.py,sha256=x2ag6CC4GrWgQRAS0QYAW2Ti_aGhkLKjzRBzUCj0rAs,953
|
|
4
|
+
mypy_boto3_dynamodb/client.py,sha256=9l75nk3NK7ajNbC1xiCNXsLa7udXBIwZeXkCRDWVmUo,43310
|
|
5
|
+
mypy_boto3_dynamodb/client.pyi,sha256=ukGX7famNeTHLaJq7gUAuKd72Ml4KvhF-WhUXQGYV-4,43306
|
|
6
|
+
mypy_boto3_dynamodb/literals.py,sha256=kTdzBeMi7Dpu3OAdXauWzL9F-VNI0vz04m-_cfx-QqU,14566
|
|
7
|
+
mypy_boto3_dynamodb/literals.pyi,sha256=sa-C_XcYnDIa3WzB5sIdEaOmTRuuHI1HIgU7TUeoH94,14564
|
|
8
|
+
mypy_boto3_dynamodb/paginator.py,sha256=O7_UAmY9FWsB66j5mti4FfgIvVbfI2LwBNOscQp5qEQ,6237
|
|
9
|
+
mypy_boto3_dynamodb/paginator.pyi,sha256=KjfAmkVhz4BFdeKCT69-XcJym_USyLXjU5v-vS0UCl8,6224
|
|
10
|
+
mypy_boto3_dynamodb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_dynamodb/service_resource.py,sha256=PjFEuG5LNWz9dfnD3J6Ue8yOBjQi97cehT57qq7b-Go,17037
|
|
12
|
+
mypy_boto3_dynamodb/service_resource.pyi,sha256=dmxqVeq0vX8S810IzszgWx0qNCQ0objNQtTbtFt_mb8,17030
|
|
13
|
+
mypy_boto3_dynamodb/type_defs.py,sha256=JoRqelRS1fQA3SMkdYv0EgYL-9d4rbAb1wx2g45mYO0,85023
|
|
14
|
+
mypy_boto3_dynamodb/type_defs.pyi,sha256=r8vvFtBsNIbamcMTTzeIZsUE_qLIamvim7PHUmmuG1o,84745
|
|
15
|
+
mypy_boto3_dynamodb/version.py,sha256=B0P5JUO-cREkwttMqs7oU9i3UOmgK6CWkZC0OK5p5h4,93
|
|
16
|
+
mypy_boto3_dynamodb/waiter.py,sha256=NxDbjw649ZmSxYPf6C52CJ2hmvZ_rlmawBlDCmrfr_0,2577
|
|
17
|
+
mypy_boto3_dynamodb/waiter.pyi,sha256=wHZrge9wvMSUHIBlzU1FTUPdCjJ-9aYDo-q-rRjsIcw,2572
|
|
18
|
+
mypy_boto3_dynamodb-1.35.74.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
19
|
+
mypy_boto3_dynamodb-1.35.74.dist-info/METADATA,sha256=CMhyK7irgwJWheHudiEGSw_Aj0fBD-A6tGRD-n7BxO4,17547
|
|
20
|
+
mypy_boto3_dynamodb-1.35.74.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
21
|
+
mypy_boto3_dynamodb-1.35.74.dist-info/top_level.txt,sha256=QxApsWxKFAcW2cmcxwGGHYl6FlOK1EYbSYEknyOyFAY,20
|
|
22
|
+
mypy_boto3_dynamodb-1.35.74.dist-info/RECORD,,
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
mypy_boto3_dynamodb/__init__.py,sha256=4MPLwUMrXggGSAuIregEB9OPgK5lS38eH4VLQTv3RMk,1859
|
|
2
|
-
mypy_boto3_dynamodb/__init__.pyi,sha256=GMdsocJat-pPuRXyCmJcizZ1LKMSLPgLD7SYG-zOa14,1857
|
|
3
|
-
mypy_boto3_dynamodb/__main__.py,sha256=JSBvC6IiKmtiGP97b7DLJxxoSfhTXnmmEDutCKKliDo,922
|
|
4
|
-
mypy_boto3_dynamodb/client.py,sha256=7uJCyvnrXdbPYhaO7T09dHM6DNUuKwIDGga9_pQWCH4,43704
|
|
5
|
-
mypy_boto3_dynamodb/client.pyi,sha256=uFf_kU2QfKRMacM08sQbrQlb2nnxSsPLkTvlmdxQKV8,43700
|
|
6
|
-
mypy_boto3_dynamodb/literals.py,sha256=8r9njZ8uD6TKfZzgYDC13Q2OUdwdTkVmNe09QMv5Eo4,14190
|
|
7
|
-
mypy_boto3_dynamodb/literals.pyi,sha256=epnIbKNLIoT9fMzgjbOU7qjdSUYiPxc4QOGXX9dc68U,14188
|
|
8
|
-
mypy_boto3_dynamodb/paginator.py,sha256=uUrrQbFJY75Lint9Z51fNOS1heWMXFcIqZTN7VMxTN0,6000
|
|
9
|
-
mypy_boto3_dynamodb/paginator.pyi,sha256=ZgjpIdY4x9saGD9bHDfEmCbJiJU4zYbRgGxYPcB4IL0,5987
|
|
10
|
-
mypy_boto3_dynamodb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_dynamodb/service_resource.py,sha256=wsnBhIE7_eaZxtcfKt09T2L1hKkyfms-VTz_OwVLPvw,17263
|
|
12
|
-
mypy_boto3_dynamodb/service_resource.pyi,sha256=ca8p85UU6DpKlOrHwAWQmXMB_KItX_kmKE8dfce33h4,17256
|
|
13
|
-
mypy_boto3_dynamodb/type_defs.py,sha256=KT73KlIkz9aBWIscwmZKRVBqHQ30S--08LCXWRqfh_s,84756
|
|
14
|
-
mypy_boto3_dynamodb/type_defs.pyi,sha256=EsSPlae8i_oUoT6yHFP7AyrMyjdhfFiDXNDb9bd3W-g,84478
|
|
15
|
-
mypy_boto3_dynamodb/version.py,sha256=RsJl0UaIDmzX1f0nt4_rE8PlMV8KttoqzSEycFcJR9E,62
|
|
16
|
-
mypy_boto3_dynamodb/waiter.py,sha256=_uH-T4GRopvRbawdqtQqjOrJvwzPJwR_VJVaCk7xAeQ,2464
|
|
17
|
-
mypy_boto3_dynamodb/waiter.pyi,sha256=f2ClcbRIbbDzCu4v6kRyEPOaj9-V4woG3DdO9lMxGfk,2459
|
|
18
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
19
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/METADATA,sha256=7QJK6hh3FXQR_hebvjDgSVwlCG5_BTr2zDdfRZM3wkI,16271
|
|
20
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
21
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/top_level.txt,sha256=QxApsWxKFAcW2cmcxwGGHYl6FlOK1EYbSYEknyOyFAY,20
|
|
22
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/RECORD,,
|
|
File without changes
|
{mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.74.dist-info}/top_level.txt
RENAMED
|
File without changes
|