Migration from crate[sqlalchemy] to sqlalchemy-cratedb


In June 2024, code from the package crate[sqlalchemy] has been transferred to the package sqlalchemy-cratedb. For 80% of use cases, this will be a drop-in replacement with no noticeable changes.

If you use CrateDB’s special data types like OBJECT, ARRAY, FLOAT_VECTOR, GEO_POINT, or GEO_SHAPE, and imported the relevant symbols from crate.client.sqlalchemy, you will need to import the same symbols from sqlalchemy_cratedb from now on.


In order to learn about more details of code migration, please follow the instructions on the relevant documentation section.

See also

[2024] Migration to `sqlalchemy-cratedb` · Issue #620 · crate/crate-python · GitHub