wherobots-python-dbapi 0.5.3__tar.gz → 0.6.0__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.0
4
4
  Summary: Python DB-API driver for Wherobots DB
5
5
  License: Apache 2.0
6
6
  Author: Maxime Petazzoni
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wherobots-python-dbapi"
3
- version = "0.5.3"
3
+ version = "0.6.0"
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")