crate / crate-python

Python DB API client library for CrateDB, using HTTP.
https://cratedb.com/docs/python/
Apache License 2.0
78 stars 31 forks source link

Refactoring: Modularize `CrateCompiler` #498

Closed amotl closed 1 year ago

amotl commented 1 year ago

About

By refactoring the SQLAlchemy 1.0-1.3 vs. 1.4 specialities of the CrateCompiler (visit_update and _get_crud_params) into dedicated modules, the new layout is more suitable for bringing in support for SQLAlchemy 2.0.

Details

Effectively, it moves code from crate.client.sqlalchemy.compiler into crate.client.sqlalchemy.compat.core{10,14}.

References