Skip to content

Commit

Permalink
Remove patch for SQLAlchemy Inspector's get_table_names
Browse files Browse the repository at this point in the history
Use `sqlalchemy-cratedb>=0.37` instead, which includes the patch.
  • Loading branch information
amotl committed Jun 18, 2024
1 parent c113fc4 commit ab07b98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@


## in progress
- Remove patch for SQLAlchemy Inspector's `get_table_names`.
Use `sqlalchemy-cratedb>=0.37` instead, which includes the patch.

## 2024-06-11 v2.13.2
- Dependencies: Migrate from `crate[sqlalchemy]` to `sqlalchemy-cratedb`
Expand Down
3 changes: 1 addition & 2 deletions mlflow_cratedb/patch/sqlalchemy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
def patch_sqlalchemy():
from cratedb_toolkit.sqlalchemy import patch_inspector, polyfill_autoincrement
from cratedb_toolkit.sqlalchemy import polyfill_autoincrement

patch_inspector()
polyfill_autoincrement()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ dependencies = [
"dask>=2024.4.1",
"joblib!=1.4.0,<1.5",
"mlflow==2.13.2",
"sqlalchemy-cratedb>=0.36.1,<1",
"sqlalchemy-cratedb>=0.37,<1",
"sqlparse<0.6",
]

Expand Down

0 comments on commit ab07b98

Please sign in to comment.