mypy-boto3-connectcases 1.35.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.
- mypy_boto3_connectcases/__init__.py +3 -0
- mypy_boto3_connectcases/__init__.pyi +2 -0
- mypy_boto3_connectcases/__main__.py +11 -8
- mypy_boto3_connectcases/client.py +177 -211
- mypy_boto3_connectcases/client.pyi +176 -210
- mypy_boto3_connectcases/literals.py +32 -11
- mypy_boto3_connectcases/literals.pyi +30 -11
- mypy_boto3_connectcases/paginator.py +37 -38
- mypy_boto3_connectcases/paginator.pyi +35 -40
- mypy_boto3_connectcases/type_defs.py +761 -932
- mypy_boto3_connectcases/type_defs.pyi +644 -931
- mypy_boto3_connectcases/version.py +3 -1
- {mypy_boto3_connectcases-1.35.0.dist-info → mypy_boto3_connectcases-1.36.0.dist-info}/LICENSE +1 -1
- {mypy_boto3_connectcases-1.35.0.dist-info → mypy_boto3_connectcases-1.36.0.dist-info}/METADATA +93 -26
- mypy_boto3_connectcases-1.36.0.dist-info/RECORD +18 -0
- {mypy_boto3_connectcases-1.35.0.dist-info → mypy_boto3_connectcases-1.36.0.dist-info}/WHEEL +1 -1
- mypy_boto3_connectcases-1.35.0.dist-info/RECORD +0 -18
- {mypy_boto3_connectcases-1.35.0.dist-info → mypy_boto3_connectcases-1.36.0.dist-info}/top_level.txt +0 -0
{mypy_boto3_connectcases-1.35.0.dist-info → mypy_boto3_connectcases-1.36.0.dist-info}/METADATA
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: mypy-boto3-connectcases
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.36.0
|
|
4
|
+
Summary: Type annotations for boto3 ConnectCases 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_connectcases/
|
|
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 connectcases type-annotations
|
|
12
|
+
Keywords: boto3 connectcases 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,61 @@ 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"
|
|
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
|
|
33
46
|
|
|
34
47
|
<a id="mypy-boto3-connectcases"></a>
|
|
35
48
|
|
|
36
49
|
# mypy-boto3-connectcases
|
|
37
50
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-connectcases)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-connectcases)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
51
|
+
[](https://pypi.org/project/mypy-boto3-connectcases/)
|
|
52
|
+
[](https://pypi.org/project/mypy-boto3-connectcases/)
|
|
53
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
54
|
+
[](https://pypistats.org/packages/mypy-boto3-connectcases)
|
|
42
55
|
|
|
43
56
|

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

|
|
64
77
|
|
|
65
78
|
- [mypy-boto3-connectcases](#mypy-boto3-connectcases)
|
|
66
79
|
- [How to install](#how-to-install)
|
|
80
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
81
|
- [VSCode extension](#vscode-extension)
|
|
68
82
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
83
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +89,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
89
|
- [Other IDEs](#other-ides)
|
|
76
90
|
- [mypy](#mypy)
|
|
77
91
|
- [pyright](#pyright)
|
|
92
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
93
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
94
|
- [Client annotations](#client-annotations)
|
|
80
95
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -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 `ConnectCases` 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 `ConnectCases` service.
|
|
|
113
143
|
# install with boto3 type annotations
|
|
114
144
|
python -m pip install 'boto3-stubs[connectcases]'
|
|
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[connectcases]'
|
|
120
149
|
|
|
121
|
-
|
|
122
150
|
# standalone installation
|
|
123
151
|
python -m pip install mypy-boto3-connectcases
|
|
124
152
|
```
|
|
@@ -157,16 +185,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
185
|
|
|
158
186
|
### PyCharm
|
|
159
187
|
|
|
160
|
-
|
|
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
|
-
|
|
202
|
+
pip uninstall boto3-stubs
|
|
203
|
+
pip install boto3-stubs-lite
|
|
164
204
|
```
|
|
165
205
|
|
|
166
|
-
|
|
167
|
-
annotations **are required**.
|
|
206
|
+
Install `boto3-stubs[connectcases]` in your environment:
|
|
168
207
|
|
|
169
|
-
|
|
208
|
+
```bash
|
|
209
|
+
python -m pip install 'boto3-stubs[connectcases]'
|
|
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[connectcases]` in your environment:
|
|
232
275
|
|
|
233
276
|
```bash
|
|
234
|
-
python -m pip install 'boto3-stubs[connectcases]'
|
|
277
|
+
python -m pip install 'boto3-stubs[connectcases]'
|
|
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[connectcases]'
|
|
249
292
|
```
|
|
250
293
|
|
|
251
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
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-connectcases` dependency in production. However, there is an issue
|
|
305
|
+
in `pylint` that it complains about undefined variables. To fix it, set all
|
|
306
|
+
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
|
|
@@ -345,8 +413,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
345
413
|
annotations extracted from `botocore` schemas.
|
|
346
414
|
- Type annotations include up-to-date documentation.
|
|
347
415
|
- Link to documentation is provided for every method.
|
|
348
|
-
- Code is processed by [
|
|
349
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
416
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
350
417
|
|
|
351
418
|
<a id="what's-new"></a>
|
|
352
419
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
mypy_boto3_connectcases/__init__.py,sha256=tjwLxXIGfRpraFzk7SEP2TYFUsKqEith2lGvzujcdOc,840
|
|
2
|
+
mypy_boto3_connectcases/__init__.pyi,sha256=I6TIEVQogI64PMbPrx9sWIvefnRGtOg5FGdvzkKHCBI,839
|
|
3
|
+
mypy_boto3_connectcases/__main__.py,sha256=3t046T_IBzCrd-4B4nWJf5rlvTpqCr-5Vd-d01ITFhc,1000
|
|
4
|
+
mypy_boto3_connectcases/client.py,sha256=IdjxSdjYBVzlidIhjsJA_UOTzotBTxZRcCqNdvLsJYc,23723
|
|
5
|
+
mypy_boto3_connectcases/client.pyi,sha256=5DHb-6hjjsTIw7GjQ8yFABDKR7S01D3zxPSlbLZ8gcU,23720
|
|
6
|
+
mypy_boto3_connectcases/literals.py,sha256=AvHxEXZySUiINWANPHMTC_zRJgoOZmeQ07ElkMolFsM,9958
|
|
7
|
+
mypy_boto3_connectcases/literals.pyi,sha256=nOF7HPaPHNbH8wtwUb9aswXREW8tZXB3HHRL4Tkcn20,9956
|
|
8
|
+
mypy_boto3_connectcases/paginator.py,sha256=f6h4sjaZwHOpPxaOdktmlbrkZ7OyIWEq81WdSgo-cTM,3501
|
|
9
|
+
mypy_boto3_connectcases/paginator.pyi,sha256=tlJ0X1ZP7icAtS-PzdFx3OL9rYg_rQ2p01_iTJaruWo,3494
|
|
10
|
+
mypy_boto3_connectcases/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_connectcases/type_defs.py,sha256=KiqMJI5xU67m5gtpoR5xGVLG0yX9O8_q8h8fb4JQHC8,24571
|
|
12
|
+
mypy_boto3_connectcases/type_defs.pyi,sha256=5KKqlMoqD_95ZecYsOnl9m06yKRrG-1KDMFMiok0Hpg,24455
|
|
13
|
+
mypy_boto3_connectcases/version.py,sha256=XqBLww9Ajk9GRr5oc1Ak2757Fsir4zxoRCWswSKh8Ro,92
|
|
14
|
+
mypy_boto3_connectcases-1.36.0.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
+
mypy_boto3_connectcases-1.36.0.dist-info/METADATA,sha256=F0I2KLu23EQLVu2MSsFI3n7ZAEBCa_O-L46UIMLtf9k,15198
|
|
16
|
+
mypy_boto3_connectcases-1.36.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
17
|
+
mypy_boto3_connectcases-1.36.0.dist-info/top_level.txt,sha256=RqxtwisC_SxV6gssbnzrNY0Ytk0di6EH_J9Hkhs2EDE,24
|
|
18
|
+
mypy_boto3_connectcases-1.36.0.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
mypy_boto3_connectcases/__init__.py,sha256=qOc6JM8LUbn7fZPwiPbo0EAcUbLbzyIcQG45TlQCM5A,808
|
|
2
|
-
mypy_boto3_connectcases/__init__.pyi,sha256=qOc6JM8LUbn7fZPwiPbo0EAcUbLbzyIcQG45TlQCM5A,808
|
|
3
|
-
mypy_boto3_connectcases/__main__.py,sha256=iOEk6ZUpeJrXmwahMTQ0mQ5pNEyQHEY5BIDsj0xU8fg,936
|
|
4
|
-
mypy_boto3_connectcases/client.py,sha256=2GKTFLRLKImbp85Fxk4ewUitxZcYWCtSdsIPgL37Df8,24124
|
|
5
|
-
mypy_boto3_connectcases/client.pyi,sha256=WzESKL0ovBMSMLNW94wA0Js0CXa6yUTE7ZYAC7Dp7U4,24121
|
|
6
|
-
mypy_boto3_connectcases/literals.py,sha256=k9Tv0zHCWA9-Ky22Cus2tpcAlUnNlJE3OGcGJhMbEOQ,9540
|
|
7
|
-
mypy_boto3_connectcases/literals.pyi,sha256=k9Tv0zHCWA9-Ky22Cus2tpcAlUnNlJE3OGcGJhMbEOQ,9540
|
|
8
|
-
mypy_boto3_connectcases/paginator.py,sha256=7_g648l3A4SY5WozI9QzxQI7H0pltsyUAuEM2ywJoKc,3392
|
|
9
|
-
mypy_boto3_connectcases/paginator.pyi,sha256=vhXGSeAYYp5-Uy1PGSSmoi6yJ3R6uA8jBDiaTrA1g8A,3389
|
|
10
|
-
mypy_boto3_connectcases/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_connectcases/type_defs.py,sha256=LwrGIegc7ghVnY_iXtI1cIDhCMISyqnAzIl-sj_jCcI,30503
|
|
12
|
-
mypy_boto3_connectcases/type_defs.pyi,sha256=LwrGIegc7ghVnY_iXtI1cIDhCMISyqnAzIl-sj_jCcI,30503
|
|
13
|
-
mypy_boto3_connectcases/version.py,sha256=LGeN8DOPs0tRcJcxZVxCtqSh0iyZT7lFggGF3KkSqhA,61
|
|
14
|
-
mypy_boto3_connectcases-1.35.0.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
15
|
-
mypy_boto3_connectcases-1.35.0.dist-info/METADATA,sha256=kvHY2WuW-r3abVup73OlDEKMKKtYSvXMEuRc3tuET-8,13119
|
|
16
|
-
mypy_boto3_connectcases-1.35.0.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
|
17
|
-
mypy_boto3_connectcases-1.35.0.dist-info/top_level.txt,sha256=RqxtwisC_SxV6gssbnzrNY0Ytk0di6EH_J9Hkhs2EDE,24
|
|
18
|
-
mypy_boto3_connectcases-1.35.0.dist-info/RECORD,,
|
{mypy_boto3_connectcases-1.35.0.dist-info → mypy_boto3_connectcases-1.36.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|