wherobots-python-dbapi 0.25.0__tar.gz → 0.25.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.
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/PKG-INFO +2 -2
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/pyproject.toml +2 -2
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/connection.py +12 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/.gitignore +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/LICENSE +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/README.md +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/__init__.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/__init__.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/constants.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/cursor.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/driver.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/errors.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/models.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/region.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/runtime.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/session_type.py +0 -0
- {wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wherobots-python-dbapi
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.2
|
|
4
4
|
Summary: Python DB-API driver for Wherobots DB
|
|
5
5
|
Project-URL: Homepage, https://github.com/wherobots/wherobots-python-dbapi-driver
|
|
6
6
|
Project-URL: Tracker, https://github.com/wherobots/wherobots-python-dbapi-driver/issues
|
|
@@ -13,7 +13,7 @@ Requires-Dist: packaging
|
|
|
13
13
|
Requires-Dist: pandas
|
|
14
14
|
Requires-Dist: pandas-stubs>=2.0.3.230814
|
|
15
15
|
Requires-Dist: pyarrow>=14.0.2
|
|
16
|
-
Requires-Dist: requests>=2.32.
|
|
16
|
+
Requires-Dist: requests>=2.32.3
|
|
17
17
|
Requires-Dist: strenum<0.5,>=0.4.15
|
|
18
18
|
Requires-Dist: tenacity>=8.2.3
|
|
19
19
|
Requires-Dist: types-requests>=2.32.0.20241016
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "wherobots-python-dbapi"
|
|
3
|
-
version = "0.25.
|
|
3
|
+
version = "0.25.2"
|
|
4
4
|
description = "Python DB-API driver for Wherobots DB"
|
|
5
5
|
authors = [{ name = "Maxime Petazzoni", email = "max@wherobots.com" }]
|
|
6
6
|
requires-python = ">=3.10, <4"
|
|
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
dependencies = [
|
|
10
10
|
"packaging",
|
|
11
|
-
"requests>=2.32.
|
|
11
|
+
"requests>=2.32.3",
|
|
12
12
|
"websockets>=13.0",
|
|
13
13
|
"tenacity>=8.2.3",
|
|
14
14
|
"cbor2>=5.6.3",
|
|
@@ -192,6 +192,16 @@ class Connection:
|
|
|
192
192
|
query.handler(ExecutionResult(store_result=store_result))
|
|
193
193
|
return
|
|
194
194
|
|
|
195
|
+
if query.store is not None:
|
|
196
|
+
# Store was configured but produced no results (empty result set)
|
|
197
|
+
logging.info(
|
|
198
|
+
"Query %s completed with store configured but no results to store.",
|
|
199
|
+
execution_id,
|
|
200
|
+
)
|
|
201
|
+
query.state = ExecutionState.COMPLETED
|
|
202
|
+
query.handler(ExecutionResult())
|
|
203
|
+
return
|
|
204
|
+
|
|
195
205
|
# No store configured, request results normally
|
|
196
206
|
self.__request_results(execution_id)
|
|
197
207
|
return
|
|
@@ -200,6 +210,8 @@ class Connection:
|
|
|
200
210
|
results = message.get("results")
|
|
201
211
|
if not results or not isinstance(results, dict):
|
|
202
212
|
logging.warning("Got no results back from %s.", execution_id)
|
|
213
|
+
query.state = ExecutionState.COMPLETED
|
|
214
|
+
query.handler(ExecutionResult())
|
|
203
215
|
return
|
|
204
216
|
|
|
205
217
|
query.state = ExecutionState.COMPLETED
|
|
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
|
{wherobots_python_dbapi-0.25.0 → wherobots_python_dbapi-0.25.2}/wherobots/db/session_type.py
RENAMED
|
File without changes
|
|
File without changes
|