From 03e86bdd5d35c84ca6be84a7f25e303cb128a950 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Sat, 23 Dec 2023 11:16:13 -0500 Subject: [PATCH] chore: revert base backend changes --- ibis/backends/base/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ibis/backends/base/__init__.py b/ibis/backends/base/__init__.py index a5a0cd0d2106e..7190d831ba684 100644 --- a/ibis/backends/base/__init__.py +++ b/ibis/backends/base/__init__.py @@ -31,7 +31,6 @@ import pyarrow as pa import torch - __all__ = ("BaseBackend", "Database", "connect") _IBIS_TO_SQLGLOT_DIALECT = { @@ -1217,9 +1216,9 @@ def _cached(self, expr: ir.Table): if (result := self._query_cache.get(op)) is None: self._query_cache.store(expr) result = self._query_cache[op] - return ir.CachedTableExpr(result) + return ir.CachedTable(result) - def _release_cached(self, expr: ir.CachedTableExpr) -> None: + def _release_cached(self, expr: ir.CachedTable) -> None: """Releases the provided cached expression. Parameters