Skip to content

Commit 30fc271

Browse files
timsaucerclaude
andcommitted
Import SessionContext in the SessionConfig constructor doctest
The example used SessionContext but only imported SessionConfig, so it passed under --doctest-modules yet failed when copy-pasted. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 7123e7d commit 30fc271

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/datafusion/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def __init__(self, config_options: dict[str, str] | None = None) -> None:
180180
181181
Example usage:
182182
183-
>>> from datafusion import SessionConfig
183+
>>> from datafusion import SessionConfig, SessionContext
184184
>>> ctx = SessionContext(SessionConfig())
185185
>>> config = SessionConfig(
186186
... config_options={"datafusion.execution.batch_size": "1024"}

0 commit comments

Comments
 (0)