Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lonboard/_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ def create_layers_from_data_input(

# duckdb DuckDBPyRelation
if (
data.__class__.__module__.startswith("duckdb")
"duckdb" in data.__class__.__module__
and data.__class__.__name__ == "DuckDBPyRelation"
):
return _viz_duckdb_relation(data, **kwargs) # type: ignore

if (
data.__class__.__module__.startswith("duckdb")
"duckdb" in data.__class__.__module__
and data.__class__.__name__ == "DuckDBPyConnection"
):
raise TypeError(DUCKDB_PY_CONN_ERROR)
Expand Down
Loading