sqlalchemy-cratedb 0.39.0__py3-none-any.whl → 0.40.0__py3-none-any.whl

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.
@@ -233,6 +233,30 @@ class CrateDialect(default.DefaultDialect):
233
233
  return self.dbapi.connect(servers=servers, **kwargs)
234
234
  return self.dbapi.connect(**kwargs)
235
235
 
236
+ def do_execute(self, cursor, statement, parameters, context=None):
237
+ """
238
+ Slightly amended to store its response into the request context instance.
239
+ """
240
+ result = cursor.execute(statement, parameters)
241
+ if context is not None:
242
+ context.last_result = result
243
+
244
+ def do_execute_no_params(self, cursor, statement, context=None):
245
+ """
246
+ Slightly amended to store its response into the request context instance.
247
+ """
248
+ result = cursor.execute(statement)
249
+ if context is not None:
250
+ context.last_result = result
251
+
252
+ def do_executemany(self, cursor, statement, parameters, context=None):
253
+ """
254
+ Slightly amended to store its response into the request context instance.
255
+ """
256
+ result = cursor.executemany(statement, parameters)
257
+ if context is not None:
258
+ context.last_result = result
259
+
236
260
  def _get_default_schema_name(self, connection):
237
261
  return "doc"
238
262
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sqlalchemy-cratedb
3
- Version: 0.39.0
3
+ Version: 0.40.0
4
4
  Summary: SQLAlchemy dialect for CrateDB.
5
5
  Author-email: "Crate.io" <office@crate.io>
6
6
  License: Apache License 2.0
@@ -62,7 +62,7 @@ Requires-Python: >=3.6
62
62
  Description-Content-Type: text/markdown
63
63
  License-File: LICENSE
64
64
  License-File: NOTICE
65
- Requires-Dist: crate ==1.0.0.dev0
65
+ Requires-Dist: crate ==1.0.0.dev1
66
66
  Requires-Dist: geojson <4,>=2.5
67
67
  Requires-Dist: sqlalchemy <2.1,>=1
68
68
  Requires-Dist: verlib2 ==0.2
@@ -72,10 +72,10 @@ Provides-Extra: all
72
72
  Requires-Dist: sqlalchemy-cratedb[vector] ; extra == 'all'
73
73
  Provides-Extra: develop
74
74
  Requires-Dist: mypy <1.12 ; extra == 'develop'
75
- Requires-Dist: poethepoet <0.28 ; extra == 'develop'
75
+ Requires-Dist: poethepoet <0.30 ; extra == 'develop'
76
76
  Requires-Dist: pyproject-fmt <2.3 ; extra == 'develop'
77
77
  Requires-Dist: ruff <0.7 ; extra == 'develop'
78
- Requires-Dist: validate-pyproject <0.20 ; extra == 'develop'
78
+ Requires-Dist: validate-pyproject <0.21 ; extra == 'develop'
79
79
  Provides-Extra: doc
80
80
  Requires-Dist: crate-docs-theme >=0.26.5 ; extra == 'doc'
81
81
  Requires-Dist: sphinx <9,>=3.5 ; extra == 'doc'
@@ -1,6 +1,6 @@
1
1
  sqlalchemy_cratedb/__init__.py,sha256=1W1uYA3Ax7HJTQatj6UulvPEmetUICEx_S7C2bmp76Q,2326
2
2
  sqlalchemy_cratedb/compiler.py,sha256=QoR0Kvn5d7BjRAq_y_DvIaInlajZsJfklvA2SJLhzBw,13147
3
- sqlalchemy_cratedb/dialect.py,sha256=bboBk3d444a3C17j2hjUy6bOoLSCqnTUPLbC3-qY-dI,14131
3
+ sqlalchemy_cratedb/dialect.py,sha256=QED0DDy5AEePnwvHBwZZ4d82p8h0lndBxFBvR6OpRn0,15043
4
4
  sqlalchemy_cratedb/predicate.py,sha256=mUIHwGv9tuNmN_BqRD5LC5Ll3Lxpb4WI_muZqbP6HRs,3568
5
5
  sqlalchemy_cratedb/sa_version.py,sha256=sQtmUQEJcguJRRSlbkVpYcdEzPduA-sUHtmOtWSH8qI,1168
6
6
  sqlalchemy_cratedb/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -17,10 +17,10 @@ sqlalchemy_cratedb/type/array.py,sha256=X-GXAtyysya3Esoe-Rh692ySBskvKd_xf30pu9x3
17
17
  sqlalchemy_cratedb/type/geo.py,sha256=8Z81m8wtpb0TBdSy_3v5FeXd0MTGZD3LxVguf9PzCZA,1160
18
18
  sqlalchemy_cratedb/type/object.py,sha256=aAkmr55RYZUbJ2MVUDV1-5eQ7kKuATVy6oy2OFqmibU,3015
19
19
  sqlalchemy_cratedb/type/vector.py,sha256=g8_C-ObDWEBoGz7u5QdljDCRWYNSRVafCAsmWJSxXiE,4746
20
- sqlalchemy_cratedb-0.39.0.dist-info/LICENSE,sha256=s_w3FXmAYQuatqsgvyYLnGyC_13KOqp3W1DUEXO9RpY,10175
21
- sqlalchemy_cratedb-0.39.0.dist-info/METADATA,sha256=2YqzJI6s6PMnskd_J1wgOCK6r-nhgk56jf31KzlAO08,6540
22
- sqlalchemy_cratedb-0.39.0.dist-info/NOTICE,sha256=yU9CWOf_XrVU7fpqGgM9tDjppoMyfHHBmFVMiINZk-k,1167
23
- sqlalchemy_cratedb-0.39.0.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
24
- sqlalchemy_cratedb-0.39.0.dist-info/entry_points.txt,sha256=c14wyCG3OeM64_DUbI_vLVUXR3e3GhDyO_PCjo6UQMU,57
25
- sqlalchemy_cratedb-0.39.0.dist-info/top_level.txt,sha256=UjjXz0burl_-2MApzLzffHG_2RXm6KljZvoGJHISMPo,19
26
- sqlalchemy_cratedb-0.39.0.dist-info/RECORD,,
20
+ sqlalchemy_cratedb-0.40.0.dist-info/LICENSE,sha256=s_w3FXmAYQuatqsgvyYLnGyC_13KOqp3W1DUEXO9RpY,10175
21
+ sqlalchemy_cratedb-0.40.0.dist-info/METADATA,sha256=1EYMw4lbSg4m4tED-Uz9PxzVfn_XaqOeIe85OAlIhyo,6540
22
+ sqlalchemy_cratedb-0.40.0.dist-info/NOTICE,sha256=yU9CWOf_XrVU7fpqGgM9tDjppoMyfHHBmFVMiINZk-k,1167
23
+ sqlalchemy_cratedb-0.40.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
24
+ sqlalchemy_cratedb-0.40.0.dist-info/entry_points.txt,sha256=c14wyCG3OeM64_DUbI_vLVUXR3e3GhDyO_PCjo6UQMU,57
25
+ sqlalchemy_cratedb-0.40.0.dist-info/top_level.txt,sha256=UjjXz0burl_-2MApzLzffHG_2RXm6KljZvoGJHISMPo,19
26
+ sqlalchemy_cratedb-0.40.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.0.0)
2
+ Generator: setuptools (75.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5