Skip to content

Commit 353566b

Browse files
spark imports (#157)
Make sure the experimental module is also exported in __all__ (might fix duckdb/duckdb#17873)
2 parents 07c1414 + c04f9b8 commit 353566b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

duckdb/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@
201201
Value,
202202
)
203203

204+
# explicitly make the experimental module available
205+
from . import experimental
206+
204207
__all__: list[str] = [
205208
"BinaryValue",
206209
"BinderException",
@@ -316,6 +319,7 @@
316319
"enum_type",
317320
"execute",
318321
"executemany",
322+
"experimental",
319323
"extract_statements",
320324
"fetch_arrow_table",
321325
"fetch_df",

duckdb/experimental/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
from . import spark # noqa: D104
22

3-
__all__ = spark.__all__
3+
__all__ = [
4+
"spark",
5+
]

0 commit comments

Comments
 (0)