From 11947d85de556ec87d9f9409f238eaa4ab788595 Mon Sep 17 00:00:00 2001 From: Tyler White <50381805+IndexSeek@users.noreply.github.com> Date: Sat, 16 Nov 2024 05:10:39 -0500 Subject: [PATCH] docs(examples): align Table.get_backend with ibis.get_backend examples (#10495) --- ibis/expr/types/core.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ibis/expr/types/core.py b/ibis/expr/types/core.py index d2d73028f833..91eb228c275a 100644 --- a/ibis/expr/types/core.py +++ b/ibis/expr/types/core.py @@ -388,11 +388,12 @@ def get_backend(self) -> BaseBackend: >>> import ibis >>> con = ibis.duckdb.connect() >>> t = con.create_table("t", {"id": [1, 2, 3]}) - >>> backend = t.get_backend() - >>> backend.name - 'duckdb' - >>> type(backend) - + >>> t.get_backend() # doctest: +ELLIPSIS + + + See Also + -------- + [`ibis.get_backend()`](./connection.qmd#ibis.get_backend) """ return self._find_backend(use_default=True)