Skip to content

Commit

Permalink
refactor(modules): remove unnecessary base submodule (#8405)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Feb 21, 2024
1 parent 0211d4f commit 6946f98
Show file tree
Hide file tree
Showing 72 changed files with 1,625 additions and 1,631 deletions.
2 changes: 1 addition & 1 deletion docs/backends/impala.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ table or database.
```{python}
#| echo: false
#| output: asis
render_methods(get_object("ibis.backends.base.sqlglot", "SQLGlotBackend"), "table")
render_methods(get_object("ibis.backends.sql", "SQLBackend"), "table")
```

The client's `table` method allows you to create an Ibis table
Expand Down
2 changes: 1 addition & 1 deletion docs/support_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def make_support_matrix():
"""Construct the backend operation support matrix data."""

from ibis.backends.base.sqlglot.compiler import ALL_OPERATIONS
from ibis.backends.sql.compiler import ALL_OPERATIONS

support_matrix_ignored_operations = (ops.ScalarParameter,)

Expand Down
5 changes: 2 additions & 3 deletions docs/support_matrix.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ dict(
#| content: valuebox
#| title: "Number of SQL backends"
import importlib
from ibis.backends.base.sqlglot import SQLGlotBackend
from ibis.backends.sql import SQLBackend
sql_backends = sum(
issubclass(
importlib.import_module(f"ibis.backends.{entry_point.name}").Backend,
SQLGlotBackend
importlib.import_module(f"ibis.backends.{entry_point.name}").Backend, SQLBackend
)
for entry_point in ibis.util.backend_entry_points()
)
Expand Down
2 changes: 1 addition & 1 deletion ibis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__version__ = "8.0.0"

from ibis import examples, util
from ibis.backends.base import BaseBackend
from ibis.backends import BaseBackend
from ibis.common.exceptions import IbisError
from ibis.config import options
from ibis.expr import api
Expand Down
Loading

0 comments on commit 6946f98

Please sign in to comment.