wherobots-python-dbapi 0.5.3__tar.gz → 0.6.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.
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/PKG-INFO +4 -4
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/README.md +3 -3
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/pyproject.toml +1 -1
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/connection.py +3 -1
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/LICENSE +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/__init__.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/__init__.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/constants.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/cursor.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/driver.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/errors.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/region.py +0 -0
- {wherobots_python_dbapi-0.5.3 → wherobots_python_dbapi-0.6.1}/wherobots/db/runtime.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wherobots-python-dbapi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: Python DB-API driver for Wherobots DB
|
|
5
5
|
License: Apache 2.0
|
|
6
6
|
Author: Maxime Petazzoni
|
|
@@ -21,7 +21,7 @@ Requires-Dist: tenacity (>=8.2.3,<9.0.0)
|
|
|
21
21
|
Requires-Dist: websockets (>=12.0,<13.0)
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
|
-
# wherobots-python-dbapi
|
|
24
|
+
# wherobots-python-dbapi
|
|
25
25
|
|
|
26
26
|
Python DB-API implementation for Wherobots DB. This package implements a
|
|
27
27
|
PEP-0249 compatible driver to programmatically connect to a Wherobots DB
|
|
@@ -33,13 +33,13 @@ If you use [Poetry](https://python-poetry.org) in your project, add the
|
|
|
33
33
|
dependency with `poetry add`:
|
|
34
34
|
|
|
35
35
|
```
|
|
36
|
-
$ poetry add
|
|
36
|
+
$ poetry add wherobots-python-dbapi
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Otherwise, just `pip install` it:
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
$ pip install
|
|
42
|
+
$ pip install wherobots-python-dbapi
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
## Usage
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# wherobots-python-dbapi
|
|
1
|
+
# wherobots-python-dbapi
|
|
2
2
|
|
|
3
3
|
Python DB-API implementation for Wherobots DB. This package implements a
|
|
4
4
|
PEP-0249 compatible driver to programmatically connect to a Wherobots DB
|
|
@@ -10,13 +10,13 @@ If you use [Poetry](https://python-poetry.org) in your project, add the
|
|
|
10
10
|
dependency with `poetry add`:
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
$ poetry add
|
|
13
|
+
$ poetry add wherobots-python-dbapi
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Otherwise, just `pip install` it:
|
|
17
17
|
|
|
18
18
|
```
|
|
19
|
-
$ pip install
|
|
19
|
+
$ pip install wherobots-python-dbapi
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
@@ -132,7 +132,9 @@ class Connection:
|
|
|
132
132
|
if query.state == ExecutionState.SUCCEEDED:
|
|
133
133
|
self.__request_results(execution_id)
|
|
134
134
|
elif query.state == ExecutionState.FAILED:
|
|
135
|
-
|
|
135
|
+
# Don't do anything here; the ERROR event is coming with more
|
|
136
|
+
# details.
|
|
137
|
+
pass
|
|
136
138
|
|
|
137
139
|
elif kind == EventKind.EXECUTION_RESULT:
|
|
138
140
|
results = message.get("results")
|
|
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
|