mypy-boto3-connectcases 1.35.0__tar.gz → 1.36.0__tar.gz

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.
Files changed (27) hide show
  1. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/LICENSE +1 -1
  2. {mypy_boto3_connectcases-1.35.0/mypy_boto3_connectcases.egg-info → mypy_boto3_connectcases-1.36.0}/PKG-INFO +93 -26
  3. mypy_boto3_connectcases-1.35.0/PKG-INFO → mypy_boto3_connectcases-1.36.0/README.md +75 -54
  4. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/__init__.py +3 -0
  5. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/__init__.pyi +2 -0
  6. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/__main__.py +11 -8
  7. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/client.py +177 -211
  8. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/client.pyi +176 -210
  9. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/literals.py +32 -11
  10. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/literals.pyi +30 -11
  11. mypy_boto3_connectcases-1.35.0/mypy_boto3_connectcases/paginator.pyi → mypy_boto3_connectcases-1.36.0/mypy_boto3_connectcases/paginator.py +39 -37
  12. mypy_boto3_connectcases-1.35.0/mypy_boto3_connectcases/paginator.py → mypy_boto3_connectcases-1.36.0/mypy_boto3_connectcases/paginator.pyi +34 -42
  13. mypy_boto3_connectcases-1.36.0/mypy_boto3_connectcases/type_defs.py +943 -0
  14. mypy_boto3_connectcases-1.36.0/mypy_boto3_connectcases/type_defs.pyi +827 -0
  15. mypy_boto3_connectcases-1.36.0/mypy_boto3_connectcases/version.py +7 -0
  16. mypy_boto3_connectcases-1.35.0/README.md → mypy_boto3_connectcases-1.36.0/mypy_boto3_connectcases.egg-info/PKG-INFO +121 -21
  17. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases.egg-info/requires.txt +1 -1
  18. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/setup.py +7 -6
  19. mypy_boto3_connectcases-1.35.0/mypy_boto3_connectcases/type_defs.py +0 -1114
  20. mypy_boto3_connectcases-1.35.0/mypy_boto3_connectcases/type_defs.pyi +0 -1114
  21. mypy_boto3_connectcases-1.35.0/mypy_boto3_connectcases/version.py +0 -5
  22. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases/py.typed +0 -0
  23. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases.egg-info/SOURCES.txt +0 -0
  24. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases.egg-info/dependency_links.txt +0 -0
  25. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases.egg-info/not-zip-safe +0 -0
  26. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/mypy_boto3_connectcases.egg-info/top_level.txt +0 -0
  27. {mypy_boto3_connectcases-1.35.0 → mypy_boto3_connectcases-1.36.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 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-connectcases
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.ConnectCases 1.35.0 service generated with mypy-boto3-builder 7.26.0
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 botocore mypy typeshed autocomplete
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>=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
33
46
 
34
47
  <a id="mypy-boto3-connectcases"></a>
35
48
 
36
49
  # mypy-boto3-connectcases
37
50
 
38
- [![PyPI - mypy-boto3-connectcases](https://img.shields.io/pypi/v/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-connectcases)](https://pepy.tech/project/mypy-boto3-connectcases)
51
+ [![PyPI - mypy-boto3-connectcases](https://img.shields.io/pypi/v/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases/)
52
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases/)
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-connectcases)](https://pypistats.org/packages/mypy-boto3-connectcases)
42
55
 
43
56
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
57
 
45
58
  Type annotations for
46
- [boto3.ConnectCases 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
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 by
55
- [mypy-boto3-builder 7.26.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).
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 to find and fix potential bugs:
74
+ See how it helps you find and fix potential bugs:
62
75
 
63
- ![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)
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
- Install `boto3-stubs-lite[connectcases]` 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[connectcases]'`
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[connectcases]` in your environment:
168
207
 
169
- Use `boto3-stubs` package instead for implicit type discovery.
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` 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-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 [black](https://github.com/psf/black) and
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
 
@@ -1,69 +1,37 @@
1
- Metadata-Version: 2.1
2
- Name: mypy-boto3-connectcases
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.ConnectCases 1.35.0 service generated with mypy-boto3-builder 7.26.0
5
- Home-page: https://github.com/youtype/mypy_boto3_builder
6
- Author: Vlad Emelianov
7
- Author-email: vlad.emelianov.nz@gmail.com
8
- License: MIT License
9
- Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/
10
- Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
- Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
- Keywords: boto3 connectcases type-annotations botocore mypy typeshed autocomplete
13
- Classifier: Development Status :: 5 - Production/Stable
14
- Classifier: Intended Audience :: Developers
15
- Classifier: Environment :: Console
16
- Classifier: License :: OSI Approved :: MIT License
17
- Classifier: Natural Language :: English
18
- Classifier: Operating System :: OS Independent
19
- Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.8
21
- Classifier: Programming Language :: Python :: 3.9
22
- Classifier: Programming Language :: Python :: 3.10
23
- Classifier: Programming Language :: Python :: 3.11
24
- Classifier: Programming Language :: Python :: 3.12
25
- Classifier: Programming Language :: Python :: 3.13
26
- Classifier: Programming Language :: Python :: 3 :: Only
27
- Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Typing :: Stubs Only
29
- Requires-Python: >=3.8
30
- Description-Content-Type: text/markdown
31
- License-File: LICENSE
32
- Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
-
34
1
  <a id="mypy-boto3-connectcases"></a>
35
2
 
36
3
  # mypy-boto3-connectcases
37
4
 
38
- [![PyPI - mypy-boto3-connectcases](https://img.shields.io/pypi/v/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-connectcases)](https://pepy.tech/project/mypy-boto3-connectcases)
5
+ [![PyPI - mypy-boto3-connectcases](https://img.shields.io/pypi/v/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-connectcases.svg?color=blue)](https://pypi.org/project/mypy-boto3-connectcases/)
7
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
8
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-connectcases)](https://pypistats.org/packages/mypy-boto3-connectcases)
42
9
 
43
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
11
 
45
12
  Type annotations for
46
- [boto3.ConnectCases 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
13
+ [boto3 ConnectCases 1.36.0](https://pypi.org/project/boto3/) compatible with
14
+ [VSCode](https://code.visualstudio.com/),
48
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
16
  [Emacs](https://www.gnu.org/software/emacs/),
50
17
  [Sublime Text](https://www.sublimetext.com/),
51
18
  [mypy](https://github.com/python/mypy),
52
19
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
20
 
54
- Generated by
55
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
21
+ Generated with
22
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
56
23
 
57
24
  More information can be found on
58
25
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
59
26
  [mypy-boto3-connectcases docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/).
60
27
 
61
- See how it helps to find and fix potential bugs:
28
+ See how it helps you find and fix potential bugs:
62
29
 
63
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
30
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
31
 
65
32
  - [mypy-boto3-connectcases](#mypy-boto3-connectcases)
66
33
  - [How to install](#how-to-install)
34
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
67
35
  - [VSCode extension](#vscode-extension)
68
36
  - [From PyPI with pip](#from-pypi-with-pip)
69
37
  - [How to uninstall](#how-to-uninstall)
@@ -75,6 +43,7 @@ See how it helps to find and fix potential bugs:
75
43
  - [Other IDEs](#other-ides)
76
44
  - [mypy](#mypy)
77
45
  - [pyright](#pyright)
46
+ - [Pylint compatibility](#pylint-compatibility)
78
47
  - [Explicit type annotations](#explicit-type-annotations)
79
48
  - [Client annotations](#client-annotations)
80
49
  - [Paginators annotations](#paginators-annotations)
@@ -93,6 +62,21 @@ See how it helps to find and fix potential bugs:
93
62
 
94
63
  ## How to install
95
64
 
65
+ <a id="generate-locally-(recommended)"></a>
66
+
67
+ ### Generate locally (recommended)
68
+
69
+ You can generate type annotations for `boto3` package locally with
70
+ `mypy_boto3_builder`. Use
71
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
72
+ isolation.
73
+
74
+ 1. Run mypy-boto3-builder in your package root directory:
75
+ `uvx --with 'boto3==1.36.0' mypy_boto3_builder`
76
+ 2. Select `boto3-stubs` AWS SDK.
77
+ 3. Add `ConnectCases` service.
78
+ 4. Use provided commands to install generated packages.
79
+
96
80
  <a id="vscode-extension"></a>
97
81
 
98
82
  ### VSCode extension
@@ -113,12 +97,10 @@ Install `boto3-stubs` for `ConnectCases` service.
113
97
  # install with boto3 type annotations
114
98
  python -m pip install 'boto3-stubs[connectcases]'
115
99
 
116
-
117
100
  # Lite version does not provide session.client/resource overloads
118
101
  # it is more RAM-friendly, but requires explicit type annotations
119
102
  python -m pip install 'boto3-stubs-lite[connectcases]'
120
103
 
121
-
122
104
  # standalone installation
123
105
  python -m pip install mypy-boto3-connectcases
124
106
  ```
@@ -157,16 +139,31 @@ annotations required, write your `boto3` code as usual.
157
139
 
158
140
  ### PyCharm
159
141
 
160
- Install `boto3-stubs-lite[connectcases]` in your environment:
142
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
143
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
144
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
145
+ > the issue is resolved.
146
+
147
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
148
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
149
+ > [pyright](https://github.com/microsoft/pyright) instead.
150
+
151
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
152
+ > `boto3-stubs` with
153
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
161
154
 
162
155
  ```bash
163
- python -m pip install 'boto3-stubs-lite[connectcases]'`
156
+ pip uninstall boto3-stubs
157
+ pip install boto3-stubs-lite
164
158
  ```
165
159
 
166
- Both type checking and code completion should now work. Explicit type
167
- annotations **are required**.
160
+ Install `boto3-stubs[connectcases]` in your environment:
161
+
162
+ ```bash
163
+ python -m pip install 'boto3-stubs[connectcases]'
164
+ ```
168
165
 
169
- Use `boto3-stubs` package instead for implicit type discovery.
166
+ Both type checking and code completion should now work.
170
167
 
171
168
  <a id="emacs"></a>
172
169
 
@@ -231,7 +228,7 @@ should work.
231
228
  - Install `boto3-stubs[connectcases]` in your environment:
232
229
 
233
230
  ```bash
234
- python -m pip install 'boto3-stubs[connectcases]'`
231
+ python -m pip install 'boto3-stubs[connectcases]'
235
232
  ```
236
233
 
237
234
  Type checking should now work. No explicit type annotations required, write
@@ -248,11 +245,36 @@ your `boto3` code as usual.
248
245
  python -m pip install 'boto3-stubs[connectcases]'
249
246
  ```
250
247
 
251
- Optionally, you can install `boto3-stubs` to `typings` folder.
248
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
249
 
253
250
  Type checking should now work. No explicit type annotations required, write
254
251
  your `boto3` code as usual.
255
252
 
253
+ <a id="pylint-compatibility"></a>
254
+
255
+ ### Pylint compatibility
256
+
257
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
258
+ `mypy-boto3-connectcases` dependency in production. However, there is an issue
259
+ in `pylint` that it complains about undefined variables. To fix it, set all
260
+ types to `object` in non-`TYPE_CHECKING` mode.
261
+
262
+ ```python
263
+ from typing import TYPE_CHECKING
264
+
265
+ if TYPE_CHECKING:
266
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
267
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
268
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
269
+ else:
270
+ EC2Client = object
271
+ EC2ServiceResource = object
272
+ BundleTaskCompleteWaiter = object
273
+ DescribeVolumesPaginator = object
274
+
275
+ ...
276
+ ```
277
+
256
278
  <a id="explicit-type-annotations"></a>
257
279
 
258
280
  ## Explicit type annotations
@@ -345,8 +367,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
345
367
  annotations extracted from `botocore` schemas.
346
368
  - Type annotations include up-to-date documentation.
347
369
  - Link to documentation is provided for every method.
348
- - Code is processed by [black](https://github.com/psf/black) and
349
- [isort](https://github.com/PyCQA/isort) for readability.
370
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
350
371
 
351
372
  <a id="what's-new"></a>
352
373
 
@@ -18,6 +18,8 @@ Usage::
18
18
  search_cases_paginator: SearchCasesPaginator = client.get_paginator("search_cases")
19
19
  search_related_items_paginator: SearchRelatedItemsPaginator = client.get_paginator("search_related_items")
20
20
  ```
21
+
22
+ Copyright 2025 Vlad Emelianov
21
23
  """
22
24
 
23
25
  from .client import ConnectCasesClient
@@ -25,4 +27,5 @@ from .paginator import SearchCasesPaginator, SearchRelatedItemsPaginator
25
27
 
26
28
  Client = ConnectCasesClient
27
29
 
30
+
28
31
  __all__ = ("Client", "ConnectCasesClient", "SearchCasesPaginator", "SearchRelatedItemsPaginator")
@@ -18,6 +18,8 @@ Usage::
18
18
  search_cases_paginator: SearchCasesPaginator = client.get_paginator("search_cases")
19
19
  search_related_items_paginator: SearchRelatedItemsPaginator = client.get_paginator("search_related_items")
20
20
  ```
21
+
22
+ Copyright 2025 Vlad Emelianov
21
23
  """
22
24
 
23
25
  from .client import ConnectCasesClient
@@ -1,5 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
+
4
+ Copyright 2025 Vlad Emelianov
3
5
  """
4
6
 
5
7
  import sys
@@ -9,14 +11,14 @@ def print_info() -> None:
9
11
  """
10
12
  Print package info to stdout.
11
13
  """
12
- print(
13
- "Type annotations for boto3.ConnectCases 1.35.0\n"
14
- "Version: 1.35.0\n"
15
- "Builder version: 7.26.0\n"
14
+ sys.stdout.write(
15
+ "Type annotations for boto3 ConnectCases 1.36.0\n"
16
+ "Version: 1.36.0\n"
17
+ "Builder version: 8.8.0\n"
16
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases//\n"
17
- "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#connectcases\n"
18
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
19
- "Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
21
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
20
22
  )
21
23
 
22
24
 
@@ -24,7 +26,7 @@ def print_version() -> None:
24
26
  """
25
27
  Print package version to stdout.
26
28
  """
27
- print("1.35.0")
29
+ sys.stdout.write("1.36.0\n")
28
30
 
29
31
 
30
32
  def main() -> None:
@@ -32,7 +34,8 @@ def main() -> None:
32
34
  Main CLI entrypoint.
33
35
  """
34
36
  if "--version" in sys.argv:
35
- return print_version()
37
+ print_version()
38
+ return
36
39
  print_info()
37
40
 
38
41