mypy-boto3-athena 1.35.25__tar.gz → 1.35.74__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.
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/PKG-INFO +59 -18
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/README.md +55 -15
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/__init__.pyi → mypy_boto3_athena-1.35.74/mypy_boto3_athena/__init__.py +3 -0
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/__init__.py → mypy_boto3_athena-1.35.74/mypy_boto3_athena/__init__.pyi +2 -1
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena/__main__.py +7 -5
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena/client.py +140 -141
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena/client.pyi +140 -141
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/literals.pyi → mypy_boto3_athena-1.35.74/mypy_boto3_athena/literals.py +26 -17
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/literals.py → mypy_boto3_athena-1.35.74/mypy_boto3_athena/literals.pyi +24 -19
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena/paginator.py +17 -15
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena/paginator.pyi +17 -15
- mypy_boto3_athena-1.35.74/mypy_boto3_athena/type_defs.py +1447 -0
- mypy_boto3_athena-1.35.74/mypy_boto3_athena/type_defs.pyi +1258 -0
- mypy_boto3_athena-1.35.74/mypy_boto3_athena/version.py +7 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena.egg-info/PKG-INFO +59 -18
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/setup.py +6 -3
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/type_defs.py +0 -1785
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/type_defs.pyi +0 -1784
- mypy_boto3_athena-1.35.25/mypy_boto3_athena/version.py +0 -5
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/LICENSE +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena/py.typed +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena.egg-info/not-zip-safe +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena.egg-info/requires.txt +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/mypy_boto3_athena.egg-info/top_level.txt +0 -0
- {mypy_boto3_athena-1.35.25 → mypy_boto3_athena-1.35.74}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-athena
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.74
|
|
4
|
+
Summary: Type annotations for boto3 Athena 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_athena/
|
|
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 athena type-annotations
|
|
12
|
+
Keywords: boto3 athena 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,6 +23,7 @@ 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
|
|
@@ -35,16 +36,15 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-athena
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-athena)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-athena)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-athena/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-athena/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-athena)
|
|
42
43
|
|
|
43
44
|

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

|
|
64
64
|
|
|
65
65
|
- [mypy-boto3-athena](#mypy-boto3-athena)
|
|
66
66
|
- [How to install](#how-to-install)
|
|
@@ -75,6 +75,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
75
|
- [Other IDEs](#other-ides)
|
|
76
76
|
- [mypy](#mypy)
|
|
77
77
|
- [pyright](#pyright)
|
|
78
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
79
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
80
|
- [Client annotations](#client-annotations)
|
|
80
81
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -157,16 +158,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
158
|
|
|
158
159
|
### PyCharm
|
|
159
160
|
|
|
160
|
-
|
|
161
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
162
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
163
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
164
|
+
> the issue is resolved.
|
|
165
|
+
|
|
166
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
167
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
168
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
169
|
+
|
|
170
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
171
|
+
> `boto3-stubs` with
|
|
172
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
161
173
|
|
|
162
174
|
```bash
|
|
163
|
-
|
|
175
|
+
pip uninstall boto3-stubs
|
|
176
|
+
pip install boto3-stubs-lite
|
|
164
177
|
```
|
|
165
178
|
|
|
166
|
-
|
|
167
|
-
|
|
179
|
+
Install `boto3-stubs[athena]` in your environment:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
python -m pip install 'boto3-stubs[athena]'
|
|
183
|
+
```
|
|
168
184
|
|
|
169
|
-
|
|
185
|
+
Both type checking and code completion should now work.
|
|
170
186
|
|
|
171
187
|
<a id="emacs"></a>
|
|
172
188
|
|
|
@@ -252,6 +268,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
252
268
|
Type checking should now work. No explicit type annotations required, write
|
|
253
269
|
your `boto3` code as usual.
|
|
254
270
|
|
|
271
|
+
<a id="pylint-compatibility"></a>
|
|
272
|
+
|
|
273
|
+
### Pylint compatibility
|
|
274
|
+
|
|
275
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
276
|
+
`mypy-boto3-athena` dependency in production. However, there is an issue in
|
|
277
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
278
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
279
|
+
|
|
280
|
+
```python
|
|
281
|
+
from typing import TYPE_CHECKING
|
|
282
|
+
|
|
283
|
+
if TYPE_CHECKING:
|
|
284
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
285
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
286
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
287
|
+
else:
|
|
288
|
+
EC2Client = object
|
|
289
|
+
EC2ServiceResource = object
|
|
290
|
+
BundleTaskCompleteWaiter = object
|
|
291
|
+
DescribeVolumesPaginator = object
|
|
292
|
+
|
|
293
|
+
...
|
|
294
|
+
```
|
|
295
|
+
|
|
255
296
|
<a id="explicit-type-annotations"></a>
|
|
256
297
|
|
|
257
298
|
## Explicit type annotations
|
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
# mypy-boto3-athena
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/mypy-boto3-athena)
|
|
6
|
-
[](https://pypi.org/project/mypy-boto3-athena)
|
|
7
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
8
|
-
[](https://
|
|
5
|
+
[](https://pypi.org/project/mypy-boto3-athena/)
|
|
6
|
+
[](https://pypi.org/project/mypy-boto3-athena/)
|
|
7
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
8
|
+
[](https://pypistats.org/packages/mypy-boto3-athena)
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for
|
|
13
|
-
[
|
|
14
|
-
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
12
|
+
Type annotations for [boto3 Athena 1.35.74](https://pypi.org/project/boto3/)
|
|
13
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
17
16
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -19,15 +18,15 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
19
|
|
|
21
20
|
Generated by
|
|
22
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
22
|
|
|
24
23
|
More information can be found on
|
|
25
24
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
26
25
|
[mypy-boto3-athena docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/).
|
|
27
26
|
|
|
28
|
-
See how it helps
|
|
27
|
+
See how it helps you find and fix potential bugs:
|
|
29
28
|
|
|
30
|
-

|
|
31
30
|
|
|
32
31
|
- [mypy-boto3-athena](#mypy-boto3-athena)
|
|
33
32
|
- [How to install](#how-to-install)
|
|
@@ -42,6 +41,7 @@ See how it helps to find and fix potential bugs:
|
|
|
42
41
|
- [Other IDEs](#other-ides)
|
|
43
42
|
- [mypy](#mypy)
|
|
44
43
|
- [pyright](#pyright)
|
|
44
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
45
45
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
46
46
|
- [Client annotations](#client-annotations)
|
|
47
47
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -124,16 +124,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
124
124
|
|
|
125
125
|
### PyCharm
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
128
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
129
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
130
|
+
> the issue is resolved.
|
|
131
|
+
|
|
132
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
133
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
134
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
135
|
+
|
|
136
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
137
|
+
> `boto3-stubs` with
|
|
138
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
128
139
|
|
|
129
140
|
```bash
|
|
130
|
-
|
|
141
|
+
pip uninstall boto3-stubs
|
|
142
|
+
pip install boto3-stubs-lite
|
|
131
143
|
```
|
|
132
144
|
|
|
133
|
-
|
|
134
|
-
|
|
145
|
+
Install `boto3-stubs[athena]` in your environment:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
python -m pip install 'boto3-stubs[athena]'
|
|
149
|
+
```
|
|
135
150
|
|
|
136
|
-
|
|
151
|
+
Both type checking and code completion should now work.
|
|
137
152
|
|
|
138
153
|
<a id="emacs"></a>
|
|
139
154
|
|
|
@@ -219,6 +234,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
219
234
|
Type checking should now work. No explicit type annotations required, write
|
|
220
235
|
your `boto3` code as usual.
|
|
221
236
|
|
|
237
|
+
<a id="pylint-compatibility"></a>
|
|
238
|
+
|
|
239
|
+
### Pylint compatibility
|
|
240
|
+
|
|
241
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
242
|
+
`mypy-boto3-athena` dependency in production. However, there is an issue in
|
|
243
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
244
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
245
|
+
|
|
246
|
+
```python
|
|
247
|
+
from typing import TYPE_CHECKING
|
|
248
|
+
|
|
249
|
+
if TYPE_CHECKING:
|
|
250
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
251
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
252
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
253
|
+
else:
|
|
254
|
+
EC2Client = object
|
|
255
|
+
EC2ServiceResource = object
|
|
256
|
+
BundleTaskCompleteWaiter = object
|
|
257
|
+
DescribeVolumesPaginator = object
|
|
258
|
+
|
|
259
|
+
...
|
|
260
|
+
```
|
|
261
|
+
|
|
222
262
|
<a id="explicit-type-annotations"></a>
|
|
223
263
|
|
|
224
264
|
## Explicit type annotations
|
|
@@ -28,6 +28,8 @@ Usage::
|
|
|
28
28
|
list_table_metadata_paginator: ListTableMetadataPaginator = client.get_paginator("list_table_metadata")
|
|
29
29
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
30
30
|
```
|
|
31
|
+
|
|
32
|
+
Copyright 2024 Vlad Emelianov
|
|
31
33
|
"""
|
|
32
34
|
|
|
33
35
|
from .client import AthenaClient
|
|
@@ -43,6 +45,7 @@ from .paginator import (
|
|
|
43
45
|
|
|
44
46
|
Client = AthenaClient
|
|
45
47
|
|
|
48
|
+
|
|
46
49
|
__all__ = (
|
|
47
50
|
"AthenaClient",
|
|
48
51
|
"Client",
|
|
@@ -28,6 +28,8 @@ Usage::
|
|
|
28
28
|
list_table_metadata_paginator: ListTableMetadataPaginator = client.get_paginator("list_table_metadata")
|
|
29
29
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
30
30
|
```
|
|
31
|
+
|
|
32
|
+
Copyright 2024 Vlad Emelianov
|
|
31
33
|
"""
|
|
32
34
|
|
|
33
35
|
from .client import AthenaClient
|
|
@@ -43,7 +45,6 @@ from .paginator import (
|
|
|
43
45
|
|
|
44
46
|
Client = AthenaClient
|
|
45
47
|
|
|
46
|
-
|
|
47
48
|
__all__ = (
|
|
48
49
|
"AthenaClient",
|
|
49
50
|
"Client",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -10,11 +12,11 @@ def print_info() -> None:
|
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
14
|
print(
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Athena 1.35.74\n"
|
|
16
|
+
"Version: 1.35.74\n"
|
|
17
|
+
"Builder version: 8.5.0\n"
|
|
16
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena//\n"
|
|
17
|
-
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#athena\n"
|
|
18
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
21
|
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
20
22
|
)
|
|
@@ -24,7 +26,7 @@ def print_version() -> None:
|
|
|
24
26
|
"""
|
|
25
27
|
Print package version to stdout.
|
|
26
28
|
"""
|
|
27
|
-
print("1.35.
|
|
29
|
+
print("1.35.74")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|