mypy-boto3-timestream-write 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.

Potentially problematic release.


This version of mypy-boto3-timestream-write might be problematic. Click here for more details.

Files changed (25) hide show
  1. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/LICENSE +1 -1
  2. {mypy_boto3_timestream_write-1.35.0/mypy_boto3_timestream_write.egg-info → mypy_boto3_timestream_write-1.36.0}/PKG-INFO +93 -26
  3. mypy_boto3_timestream_write-1.35.0/PKG-INFO → mypy_boto3_timestream_write-1.36.0/README.md +75 -54
  4. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write/__init__.py +3 -0
  5. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write/__init__.pyi +2 -0
  6. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write/__main__.py +11 -8
  7. mypy_boto3_timestream_write-1.35.0/mypy_boto3_timestream_write/client.pyi → mypy_boto3_timestream_write-1.36.0/mypy_boto3_timestream_write/client.py +113 -118
  8. mypy_boto3_timestream_write-1.35.0/mypy_boto3_timestream_write/client.py → mypy_boto3_timestream_write-1.36.0/mypy_boto3_timestream_write/client.pyi +111 -122
  9. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write/literals.py +31 -9
  10. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write/literals.pyi +29 -9
  11. mypy_boto3_timestream_write-1.36.0/mypy_boto3_timestream_write/type_defs.py +556 -0
  12. mypy_boto3_timestream_write-1.36.0/mypy_boto3_timestream_write/type_defs.pyi +484 -0
  13. mypy_boto3_timestream_write-1.36.0/mypy_boto3_timestream_write/version.py +7 -0
  14. mypy_boto3_timestream_write-1.35.0/README.md → mypy_boto3_timestream_write-1.36.0/mypy_boto3_timestream_write.egg-info/PKG-INFO +121 -21
  15. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write.egg-info/requires.txt +1 -1
  16. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/setup.py +7 -6
  17. mypy_boto3_timestream_write-1.35.0/mypy_boto3_timestream_write/type_defs.py +0 -672
  18. mypy_boto3_timestream_write-1.35.0/mypy_boto3_timestream_write/type_defs.pyi +0 -672
  19. mypy_boto3_timestream_write-1.35.0/mypy_boto3_timestream_write/version.py +0 -5
  20. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write/py.typed +0 -0
  21. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write.egg-info/SOURCES.txt +0 -0
  22. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write.egg-info/dependency_links.txt +0 -0
  23. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write.egg-info/not-zip-safe +0 -0
  24. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-1.36.0}/mypy_boto3_timestream_write.egg-info/top_level.txt +0 -0
  25. {mypy_boto3_timestream_write-1.35.0 → mypy_boto3_timestream_write-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-timestream-write
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.TimestreamWrite 1.35.0 service generated with mypy-boto3-builder 7.26.0
3
+ Version: 1.36.0
4
+ Summary: Type annotations for boto3 TimestreamWrite 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_timestream_write/
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 timestream-write type-annotations botocore mypy typeshed autocomplete
12
+ Keywords: boto3 timestream-write 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-timestream-write"></a>
35
48
 
36
49
  # mypy-boto3-timestream-write
37
50
 
38
- [![PyPI - mypy-boto3-timestream-write](https://img.shields.io/pypi/v/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-timestream-write)](https://pepy.tech/project/mypy-boto3-timestream-write)
51
+ [![PyPI - mypy-boto3-timestream-write](https://img.shields.io/pypi/v/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write/)
52
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write/)
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-timestream-write)](https://pypistats.org/packages/mypy-boto3-timestream-write)
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.TimestreamWrite 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
59
+ [boto3 TimestreamWrite 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-timestream-write docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/).
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-timestream-write](#mypy-boto3-timestream-write)
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
  - [Literals](#literals)
@@ -92,6 +107,21 @@ See how it helps to find and fix potential bugs:
92
107
 
93
108
  ## How to install
94
109
 
110
+ <a id="generate-locally-(recommended)"></a>
111
+
112
+ ### Generate locally (recommended)
113
+
114
+ You can generate type annotations for `boto3` package locally with
115
+ `mypy_boto3_builder`. Use
116
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
117
+ isolation.
118
+
119
+ 1. Run mypy-boto3-builder in your package root directory:
120
+ `uvx --with 'boto3==1.36.0' mypy_boto3_builder`
121
+ 2. Select `boto3-stubs` AWS SDK.
122
+ 3. Add `TimestreamWrite` service.
123
+ 4. Use provided commands to install generated packages.
124
+
95
125
  <a id="vscode-extension"></a>
96
126
 
97
127
  ### VSCode extension
@@ -112,12 +142,10 @@ Install `boto3-stubs` for `TimestreamWrite` service.
112
142
  # install with boto3 type annotations
113
143
  python -m pip install 'boto3-stubs[timestream-write]'
114
144
 
115
-
116
145
  # Lite version does not provide session.client/resource overloads
117
146
  # it is more RAM-friendly, but requires explicit type annotations
118
147
  python -m pip install 'boto3-stubs-lite[timestream-write]'
119
148
 
120
-
121
149
  # standalone installation
122
150
  python -m pip install mypy-boto3-timestream-write
123
151
  ```
@@ -156,16 +184,31 @@ annotations required, write your `boto3` code as usual.
156
184
 
157
185
  ### PyCharm
158
186
 
159
- Install `boto3-stubs-lite[timestream-write]` in your environment:
187
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
188
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
189
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
190
+ > the issue is resolved.
191
+
192
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
193
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
194
+ > [pyright](https://github.com/microsoft/pyright) instead.
195
+
196
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
197
+ > `boto3-stubs` with
198
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
160
199
 
161
200
  ```bash
162
- python -m pip install 'boto3-stubs-lite[timestream-write]'`
201
+ pip uninstall boto3-stubs
202
+ pip install boto3-stubs-lite
163
203
  ```
164
204
 
165
- Both type checking and code completion should now work. Explicit type
166
- annotations **are required**.
205
+ Install `boto3-stubs[timestream-write]` in your environment:
167
206
 
168
- Use `boto3-stubs` package instead for implicit type discovery.
207
+ ```bash
208
+ python -m pip install 'boto3-stubs[timestream-write]'
209
+ ```
210
+
211
+ Both type checking and code completion should now work.
169
212
 
170
213
  <a id="emacs"></a>
171
214
 
@@ -230,7 +273,7 @@ should work.
230
273
  - Install `boto3-stubs[timestream-write]` in your environment:
231
274
 
232
275
  ```bash
233
- python -m pip install 'boto3-stubs[timestream-write]'`
276
+ python -m pip install 'boto3-stubs[timestream-write]'
234
277
  ```
235
278
 
236
279
  Type checking should now work. No explicit type annotations required, write
@@ -247,11 +290,36 @@ your `boto3` code as usual.
247
290
  python -m pip install 'boto3-stubs[timestream-write]'
248
291
  ```
249
292
 
250
- Optionally, you can install `boto3-stubs` to `typings` folder.
293
+ Optionally, you can install `boto3-stubs` to `typings` directory.
251
294
 
252
295
  Type checking should now work. No explicit type annotations required, write
253
296
  your `boto3` code as usual.
254
297
 
298
+ <a id="pylint-compatibility"></a>
299
+
300
+ ### Pylint compatibility
301
+
302
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
303
+ `mypy-boto3-timestream-write` dependency in production. However, there is an
304
+ issue in `pylint` that it complains about undefined variables. To fix it, set
305
+ all types to `object` in non-`TYPE_CHECKING` mode.
306
+
307
+ ```python
308
+ from typing import TYPE_CHECKING
309
+
310
+ if TYPE_CHECKING:
311
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
312
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
313
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
314
+ else:
315
+ EC2Client = object
316
+ EC2ServiceResource = object
317
+ BundleTaskCompleteWaiter = object
318
+ DescribeVolumesPaginator = object
319
+
320
+ ...
321
+ ```
322
+
255
323
  <a id="explicit-type-annotations"></a>
256
324
 
257
325
  ## Explicit type annotations
@@ -322,8 +390,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
322
390
  annotations extracted from `botocore` schemas.
323
391
  - Type annotations include up-to-date documentation.
324
392
  - 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.
393
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
327
394
 
328
395
  <a id="what's-new"></a>
329
396
 
@@ -1,69 +1,37 @@
1
- Metadata-Version: 2.1
2
- Name: mypy-boto3-timestream-write
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.TimestreamWrite 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_timestream_write/
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 timestream-write 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-timestream-write"></a>
35
2
 
36
3
  # mypy-boto3-timestream-write
37
4
 
38
- [![PyPI - mypy-boto3-timestream-write](https://img.shields.io/pypi/v/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-timestream-write)](https://pepy.tech/project/mypy-boto3-timestream-write)
5
+ [![PyPI - mypy-boto3-timestream-write](https://img.shields.io/pypi/v/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write/)
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-timestream-write)](https://pypistats.org/packages/mypy-boto3-timestream-write)
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.TimestreamWrite 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
13
+ [boto3 TimestreamWrite 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-timestream-write docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/).
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-timestream-write](#mypy-boto3-timestream-write)
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
  - [Literals](#literals)
@@ -92,6 +61,21 @@ See how it helps to find and fix potential bugs:
92
61
 
93
62
  ## How to install
94
63
 
64
+ <a id="generate-locally-(recommended)"></a>
65
+
66
+ ### Generate locally (recommended)
67
+
68
+ You can generate type annotations for `boto3` package locally with
69
+ `mypy_boto3_builder`. Use
70
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
71
+ isolation.
72
+
73
+ 1. Run mypy-boto3-builder in your package root directory:
74
+ `uvx --with 'boto3==1.36.0' mypy_boto3_builder`
75
+ 2. Select `boto3-stubs` AWS SDK.
76
+ 3. Add `TimestreamWrite` service.
77
+ 4. Use provided commands to install generated packages.
78
+
95
79
  <a id="vscode-extension"></a>
96
80
 
97
81
  ### VSCode extension
@@ -112,12 +96,10 @@ Install `boto3-stubs` for `TimestreamWrite` service.
112
96
  # install with boto3 type annotations
113
97
  python -m pip install 'boto3-stubs[timestream-write]'
114
98
 
115
-
116
99
  # Lite version does not provide session.client/resource overloads
117
100
  # it is more RAM-friendly, but requires explicit type annotations
118
101
  python -m pip install 'boto3-stubs-lite[timestream-write]'
119
102
 
120
-
121
103
  # standalone installation
122
104
  python -m pip install mypy-boto3-timestream-write
123
105
  ```
@@ -156,16 +138,31 @@ annotations required, write your `boto3` code as usual.
156
138
 
157
139
  ### PyCharm
158
140
 
159
- Install `boto3-stubs-lite[timestream-write]` in your environment:
141
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
142
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
143
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
144
+ > the issue is resolved.
145
+
146
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
147
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
148
+ > [pyright](https://github.com/microsoft/pyright) instead.
149
+
150
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
151
+ > `boto3-stubs` with
152
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
160
153
 
161
154
  ```bash
162
- python -m pip install 'boto3-stubs-lite[timestream-write]'`
155
+ pip uninstall boto3-stubs
156
+ pip install boto3-stubs-lite
163
157
  ```
164
158
 
165
- Both type checking and code completion should now work. Explicit type
166
- annotations **are required**.
159
+ Install `boto3-stubs[timestream-write]` in your environment:
160
+
161
+ ```bash
162
+ python -m pip install 'boto3-stubs[timestream-write]'
163
+ ```
167
164
 
168
- Use `boto3-stubs` package instead for implicit type discovery.
165
+ Both type checking and code completion should now work.
169
166
 
170
167
  <a id="emacs"></a>
171
168
 
@@ -230,7 +227,7 @@ should work.
230
227
  - Install `boto3-stubs[timestream-write]` in your environment:
231
228
 
232
229
  ```bash
233
- python -m pip install 'boto3-stubs[timestream-write]'`
230
+ python -m pip install 'boto3-stubs[timestream-write]'
234
231
  ```
235
232
 
236
233
  Type checking should now work. No explicit type annotations required, write
@@ -247,11 +244,36 @@ your `boto3` code as usual.
247
244
  python -m pip install 'boto3-stubs[timestream-write]'
248
245
  ```
249
246
 
250
- Optionally, you can install `boto3-stubs` to `typings` folder.
247
+ Optionally, you can install `boto3-stubs` to `typings` directory.
251
248
 
252
249
  Type checking should now work. No explicit type annotations required, write
253
250
  your `boto3` code as usual.
254
251
 
252
+ <a id="pylint-compatibility"></a>
253
+
254
+ ### Pylint compatibility
255
+
256
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
257
+ `mypy-boto3-timestream-write` dependency in production. However, there is an
258
+ issue in `pylint` that it complains about undefined variables. To fix it, set
259
+ all types to `object` in non-`TYPE_CHECKING` mode.
260
+
261
+ ```python
262
+ from typing import TYPE_CHECKING
263
+
264
+ if TYPE_CHECKING:
265
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
266
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
267
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
268
+ else:
269
+ EC2Client = object
270
+ EC2ServiceResource = object
271
+ BundleTaskCompleteWaiter = object
272
+ DescribeVolumesPaginator = object
273
+
274
+ ...
275
+ ```
276
+
255
277
  <a id="explicit-type-annotations"></a>
256
278
 
257
279
  ## Explicit type annotations
@@ -322,8 +344,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
322
344
  annotations extracted from `botocore` schemas.
323
345
  - Type annotations include up-to-date documentation.
324
346
  - 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.
347
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
327
348
 
328
349
  <a id="what's-new"></a>
329
350
 
@@ -13,10 +13,13 @@ Usage::
13
13
  session = Session()
14
14
  client: TimestreamWriteClient = session.client("timestream-write")
15
15
  ```
16
+
17
+ Copyright 2025 Vlad Emelianov
16
18
  """
17
19
 
18
20
  from .client import TimestreamWriteClient
19
21
 
20
22
  Client = TimestreamWriteClient
21
23
 
24
+
22
25
  __all__ = ("Client", "TimestreamWriteClient")
@@ -13,6 +13,8 @@ Usage::
13
13
  session = Session()
14
14
  client: TimestreamWriteClient = session.client("timestream-write")
15
15
  ```
16
+
17
+ Copyright 2025 Vlad Emelianov
16
18
  """
17
19
 
18
20
  from .client import TimestreamWriteClient
@@ -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.TimestreamWrite 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 TimestreamWrite 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_timestream_write//\n"
17
- "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#timestreamwrite\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