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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wherobots-python-dbapi
3
- Version: 0.5.3
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-driver
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 git+https://github.com/wherobots/wherobots-python-dbapi-driver
36
+ $ poetry add wherobots-python-dbapi
37
37
  ```
38
38
 
39
39
  Otherwise, just `pip install` it:
40
40
 
41
41
  ```
42
- $ pip install git+https://github.com/wherobots/wherobots-python-dbapi-driver
42
+ $ pip install wherobots-python-dbapi
43
43
  ```
44
44
 
45
45
  ## Usage
@@ -1,4 +1,4 @@
1
- # wherobots-python-dbapi-driver
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 git+https://github.com/wherobots/wherobots-python-dbapi-driver
13
+ $ poetry add wherobots-python-dbapi
14
14
  ```
15
15
 
16
16
  Otherwise, just `pip install` it:
17
17
 
18
18
  ```
19
- $ pip install git+https://github.com/wherobots/wherobots-python-dbapi-driver
19
+ $ pip install wherobots-python-dbapi
20
20
  ```
21
21
 
22
22
  ## Usage
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wherobots-python-dbapi"
3
- version = "0.5.3"
3
+ version = "0.6.1"
4
4
  description = "Python DB-API driver for Wherobots DB"
5
5
  authors = ["Maxime Petazzoni <max@wherobots.com>"]
6
6
  license = "Apache 2.0"
@@ -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
- query.handler(OperationalError("Query execution failed"))
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")