From c04f9b8ac1b5486efae451dc4f7c4a779430e159 Mon Sep 17 00:00:00 2001 From: Evert Lammerts Date: Tue, 4 Nov 2025 14:08:17 +0100 Subject: [PATCH] spark imports --- duckdb/__init__.py | 4 ++++ duckdb/experimental/__init__.py | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/duckdb/__init__.py b/duckdb/__init__.py index e1a4aa9a..0fb3311c 100644 --- a/duckdb/__init__.py +++ b/duckdb/__init__.py @@ -201,6 +201,9 @@ Value, ) +# explicitly make the experimental module available +from . import experimental + __all__: list[str] = [ "BinaryValue", "BinderException", @@ -316,6 +319,7 @@ "enum_type", "execute", "executemany", + "experimental", "extract_statements", "fetch_arrow_table", "fetch_df", diff --git a/duckdb/experimental/__init__.py b/duckdb/experimental/__init__.py index 1b5ee51b..51d08709 100644 --- a/duckdb/experimental/__init__.py +++ b/duckdb/experimental/__init__.py @@ -1,3 +1,5 @@ from . import spark # noqa: D104 -__all__ = spark.__all__ +__all__ = [ + "spark", +]