e6data-python-connector 1.1.1__tar.gz → 1.1.2__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.
- {e6data-python-connector-1.1.1/e6data_python_connector.egg-info → e6data-python-connector-1.1.2}/PKG-INFO +2 -2
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/README.md +1 -1
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/e6xgrpc.py +12 -2
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2/e6data_python_connector.egg-info}/PKG-INFO +2 -2
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/setup.py +1 -1
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/LICENSE +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/MANIFEST.in +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/__init__.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/server/QueryEngineService.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/server/__init__.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/server/constants.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/server/e6x_engine_pb2.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/server/e6x_engine_pb2_grpc.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/server/ttypes.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector.egg-info/SOURCES.txt +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector.egg-info/dependency_links.txt +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector.egg-info/entry_points.txt +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector.egg-info/requires.txt +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector.egg-info/top_level.txt +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/__init__.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/common.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/constants.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/datainputstream.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/date_time_utils.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/e6x.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/exceptions.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/sqlalchemy_e6x.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6xdb/typeId.py +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/pyproject.toml +0 -0
- {e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: e6data-python-connector
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Client for the e6data distributed SQL Engine.
|
|
5
5
|
Home-page: https://github.com/e6x-labs/e6data-python-connector
|
|
6
6
|
Author: Uniphi, Inc.
|
|
@@ -8,7 +8,7 @@ Author-email: info@e6data.com
|
|
|
8
8
|
License: Apache 2.0
|
|
9
9
|
Description: # e6data Python Connector
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
## Introduction
|
|
14
14
|
|
{e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/e6xgrpc.py
RENAMED
|
@@ -108,7 +108,7 @@ class Connection(object):
|
|
|
108
108
|
check_hostname=None,
|
|
109
109
|
ssl_cert=None,
|
|
110
110
|
thrift_transport=None,
|
|
111
|
-
|
|
111
|
+
grpc_options=None
|
|
112
112
|
):
|
|
113
113
|
if not username or not password:
|
|
114
114
|
raise ValueError("username or password cannot be empty.")
|
|
@@ -120,7 +120,15 @@ class Connection(object):
|
|
|
120
120
|
self._session_id = None
|
|
121
121
|
self._host = host
|
|
122
122
|
self._port = port
|
|
123
|
-
|
|
123
|
+
|
|
124
|
+
self._keepalive_timeout_ms = 900000
|
|
125
|
+
self._max_receive_message_length = 100 * 1024 * 1024 # mb
|
|
126
|
+
self._max_send_message_length = 300 * 1024 * 1024 # mb
|
|
127
|
+
|
|
128
|
+
if type(grpc_options) == dict:
|
|
129
|
+
self._keepalive_timeout_ms = grpc_options.get('keepalive_timeout_ms') or self._keepalive_timeout_ms
|
|
130
|
+
self._max_receive_message_length = grpc_options.get('max_receive_message_length') or self._max_receive_message_length
|
|
131
|
+
self._max_send_message_length = grpc_options.get('max_send_message_length') or self._max_send_message_length
|
|
124
132
|
self._create_client()
|
|
125
133
|
|
|
126
134
|
def _create_client(self):
|
|
@@ -128,6 +136,8 @@ class Connection(object):
|
|
|
128
136
|
target='{}:{}'.format(self._host, self._port),
|
|
129
137
|
options=[
|
|
130
138
|
("grpc.keepalive_timeout_ms", self._keepalive_timeout_ms),
|
|
139
|
+
('grpc.max_send_message_length', self._max_send_message_length),
|
|
140
|
+
('grpc.max_receive_message_length', self._max_receive_message_length)
|
|
131
141
|
],
|
|
132
142
|
)
|
|
133
143
|
self._client = e6x_engine_pb2_grpc.QueryEngineServiceStub(self._channel)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: e6data-python-connector
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Client for the e6data distributed SQL Engine.
|
|
5
5
|
Home-page: https://github.com/e6x-labs/e6data-python-connector
|
|
6
6
|
Author: Uniphi, Inc.
|
|
@@ -8,7 +8,7 @@ Author-email: info@e6data.com
|
|
|
8
8
|
License: Apache 2.0
|
|
9
9
|
Description: # e6data Python Connector
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
## Introduction
|
|
14
14
|
|
|
File without changes
|
|
File without changes
|
{e6data-python-connector-1.1.1 → e6data-python-connector-1.1.2}/e6data_python_connector/__init__.py
RENAMED
|
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
|