Skip to content

Commit

Permalink
chore: revert base backend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 23, 2023
1 parent c51dc6e commit 03e86bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ibis/backends/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import pyarrow as pa
import torch


__all__ = ("BaseBackend", "Database", "connect")

_IBIS_TO_SQLGLOT_DIALECT = {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 03e86bd

Please sign in to comment.