atoti-server-sql-bridge 0.9.7__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.
- _atoti_server_sql_bridge/__init__.py +0 -0
- _atoti_server_sql_bridge/__resources__/plugin.jar +0 -0
- _atoti_server_sql_bridge/_plugin.py +33 -0
- _atoti_server_sql_bridge/_resources_directory.py +3 -0
- _atoti_server_sql_bridge/py.typed +0 -0
- atoti_server_sql_bridge-0.9.7.dist-info/METADATA +16 -0
- atoti_server_sql_bridge-0.9.7.dist-info/RECORD +9 -0
- atoti_server_sql_bridge-0.9.7.dist-info/WHEEL +4 -0
- atoti_server_sql_bridge-0.9.7.dist-info/entry_points.txt +2 -0
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from dataclasses import replace
|
|
4
|
+
from typing import TYPE_CHECKING, final
|
|
5
|
+
|
|
6
|
+
from _atoti_core import Plugin
|
|
7
|
+
from typing_extensions import override
|
|
8
|
+
|
|
9
|
+
from ._resources_directory import RESOURCES_DIRECTORY
|
|
10
|
+
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
import atoti as tt # pylint: disable=nested-import,undeclared-dependency
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@final
|
|
16
|
+
class SqlBridgePlugin(Plugin):
|
|
17
|
+
@override
|
|
18
|
+
def session_config_hook(
|
|
19
|
+
self,
|
|
20
|
+
session_config: tt.SessionConfig,
|
|
21
|
+
) -> tt.SessionConfig:
|
|
22
|
+
return replace(
|
|
23
|
+
session_config,
|
|
24
|
+
extra_jars=[
|
|
25
|
+
*session_config.extra_jars,
|
|
26
|
+
RESOURCES_DIRECTORY / "plugin.jar",
|
|
27
|
+
],
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
@override
|
|
32
|
+
def _key(self) -> str | None:
|
|
33
|
+
return "sql-bridge"
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: atoti-server-sql-bridge
|
|
3
|
+
Version: 0.9.7
|
|
4
|
+
Summary: Experimental resources to query the cube with SQL queries
|
|
5
|
+
Project-URL: Homepage, https://www.atoti.io
|
|
6
|
+
Project-URL: Issues, https://github.com/atoti/atoti/issues
|
|
7
|
+
Author-email: ActiveViam <dev@atoti.io>
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: License :: Free for non-commercial use
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Java
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Typing :: Typed
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Requires-Dist: atoti-core==0.9.7
|
|
16
|
+
Requires-Dist: typing-extensions>=4.12.2
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
_atoti_server_sql_bridge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
_atoti_server_sql_bridge/_plugin.py,sha256=Gw7YYnU3EZYOT8r6fBSy-S43rysxjq8bzKUzYrT2Bsk,786
|
|
3
|
+
_atoti_server_sql_bridge/_resources_directory.py,sha256=kOOsXoN0C2-JZbbg3vJcW18ypPwrF0p-ELc2H6Dlo6k,88
|
|
4
|
+
_atoti_server_sql_bridge/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
_atoti_server_sql_bridge/__resources__/plugin.jar,sha256=xo8D6q07aXlBBctIKioN0sYIlSrtOCWuKyRcDPbkJ7E,71250477
|
|
6
|
+
atoti_server_sql_bridge-0.9.7.dist-info/METADATA,sha256=D3UWfCqn9Z3Stsu9famQdoJfzikyGAij4EmX5fqwK3U,633
|
|
7
|
+
atoti_server_sql_bridge-0.9.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
atoti_server_sql_bridge-0.9.7.dist-info/entry_points.txt,sha256=uZ4cplrJa1WZaR827NHJsn4bYNSxtyTOkCbz5om9-80,78
|
|
9
|
+
atoti_server_sql_bridge-0.9.7.dist-info/RECORD,,
|