PyAthena 3.35.0__tar.gz → 3.35.1__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.
- {pyathena-3.35.0 → pyathena-3.35.1}/PKG-INFO +1 -1
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/_version.py +2 -2
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/common.py +20 -1
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/common.py +20 -1
- {pyathena-3.35.0 → pyathena-3.35.1}/.gitignore +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/LICENSE +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/README.md +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/arrow/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/arrow/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/connection.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/pandas/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/pandas/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/polars/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/polars/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/result_set.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/s3fs/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/s3fs/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/spark/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/spark/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/arrow.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/base.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/pandas.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/polars.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/rest.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/sqlalchemy/s3fs.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/aio/util.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/arrow/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/arrow/async_cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/arrow/converter.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/arrow/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/arrow/result_set.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/arrow/util.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/async_cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/connection.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/converter.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/error.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/filesystem/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/filesystem/s3.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/filesystem/s3_async.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/filesystem/s3_errors.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/filesystem/s3_executor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/filesystem/s3_object.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/formatter.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/model.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/options.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/pandas/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/pandas/async_cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/pandas/converter.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/pandas/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/pandas/result_set.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/pandas/util.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/parser.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/polars/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/polars/async_cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/polars/converter.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/polars/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/polars/result_set.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/polars/util.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/py.typed +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/result_set.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/s3fs/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/s3fs/async_cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/s3fs/converter.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/s3fs/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/s3fs/reader.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/s3fs/result_set.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/spark/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/spark/async_cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/spark/common.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/spark/cursor.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/__init__.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/arrow.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/base.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/compiler.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/constants.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/pandas.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/polars.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/preparer.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/requirements.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/rest.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/s3fs.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/types.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/sqlalchemy/util.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyathena/util.py +0 -0
- {pyathena-3.35.0 → pyathena-3.35.1}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyAthena
|
|
3
|
-
Version: 3.35.
|
|
3
|
+
Version: 3.35.1
|
|
4
4
|
Summary: Python DB API 2.0 (PEP 249) client for Amazon Athena
|
|
5
5
|
Project-URL: homepage, https://github.com/pyathena-dev/PyAthena/
|
|
6
6
|
Project-URL: repository, https://github.com/pyathena-dev/PyAthena/
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '3.35.
|
|
22
|
-
__version_tuple__ = version_tuple = (3, 35,
|
|
21
|
+
__version__ = version = '3.35.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (3, 35, 1)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -28,9 +28,28 @@ class AioBaseCursor(BaseCursor):
|
|
|
28
28
|
self,
|
|
29
29
|
operation: str,
|
|
30
30
|
parameters: dict[str, Any] | list[str] | None = None,
|
|
31
|
+
work_group: str | None = None,
|
|
32
|
+
s3_staging_dir: str | None = None,
|
|
33
|
+
cache_size: int | None = None,
|
|
34
|
+
cache_expiration_time: int | None = None,
|
|
35
|
+
result_reuse_enable: bool | None = None,
|
|
36
|
+
result_reuse_minutes: int | None = None,
|
|
37
|
+
paramstyle: str | None = None,
|
|
31
38
|
options: ExecuteOptions | None = None,
|
|
32
39
|
) -> str:
|
|
33
|
-
|
|
40
|
+
# The individual keyword arguments are retained for backward compatibility
|
|
41
|
+
# with external callers that predate ExecuteOptions, mirroring
|
|
42
|
+
# BaseCursor._execute().
|
|
43
|
+
options = ExecuteOptions.resolve(
|
|
44
|
+
options,
|
|
45
|
+
work_group=work_group,
|
|
46
|
+
s3_staging_dir=s3_staging_dir,
|
|
47
|
+
cache_size=cache_size,
|
|
48
|
+
cache_expiration_time=cache_expiration_time,
|
|
49
|
+
result_reuse_enable=result_reuse_enable,
|
|
50
|
+
result_reuse_minutes=result_reuse_minutes,
|
|
51
|
+
paramstyle=paramstyle,
|
|
52
|
+
)
|
|
34
53
|
query, execution_parameters = self._prepare_query(operation, parameters, options.paramstyle)
|
|
35
54
|
|
|
36
55
|
request = self._build_start_query_execution_request(
|
|
@@ -714,9 +714,28 @@ class BaseCursor(metaclass=ABCMeta):
|
|
|
714
714
|
self,
|
|
715
715
|
operation: str,
|
|
716
716
|
parameters: dict[str, Any] | list[str] | None = None,
|
|
717
|
+
work_group: str | None = None,
|
|
718
|
+
s3_staging_dir: str | None = None,
|
|
719
|
+
cache_size: int | None = None,
|
|
720
|
+
cache_expiration_time: int | None = None,
|
|
721
|
+
result_reuse_enable: bool | None = None,
|
|
722
|
+
result_reuse_minutes: int | None = None,
|
|
723
|
+
paramstyle: str | None = None,
|
|
717
724
|
options: ExecuteOptions | None = None,
|
|
718
725
|
) -> str:
|
|
719
|
-
|
|
726
|
+
# The individual keyword arguments are retained for backward compatibility
|
|
727
|
+
# with external callers that predate ExecuteOptions (e.g. dbt-athena <= 1.10.x
|
|
728
|
+
# calls _execute() with work_group/s3_staging_dir/cache_* keywords).
|
|
729
|
+
options = ExecuteOptions.resolve(
|
|
730
|
+
options,
|
|
731
|
+
work_group=work_group,
|
|
732
|
+
s3_staging_dir=s3_staging_dir,
|
|
733
|
+
cache_size=cache_size,
|
|
734
|
+
cache_expiration_time=cache_expiration_time,
|
|
735
|
+
result_reuse_enable=result_reuse_enable,
|
|
736
|
+
result_reuse_minutes=result_reuse_minutes,
|
|
737
|
+
paramstyle=paramstyle,
|
|
738
|
+
)
|
|
720
739
|
query, execution_parameters = self._prepare_query(operation, parameters, options.paramstyle)
|
|
721
740
|
|
|
722
741
|
request = self._build_start_query_execution_request(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|