We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec7033a commit ad83fc5Copy full SHA for ad83fc5
1 file changed
python/datafusion/context.py
@@ -571,6 +571,7 @@ def __init__(
571
self,
572
config: SessionConfig | None = None,
573
runtime: RuntimeEnvBuilder | None = None,
574
+ display_config: DataframeDisplayConfig | None = None,
575
) -> None:
576
"""Main interface for executing queries with DataFusion.
577
@@ -594,7 +595,9 @@ def __init__(
594
595
"""
596
config = config.config_internal if config is not None else None
597
runtime = runtime.config_internal if runtime is not None else None
- display_config = DataframeDisplayConfigInternal()
598
+ display_config = (
599
+ display_config.config_internal if display_config is not None else None
600
+ )
601
self.ctx = SessionContextInternal(config, runtime, display_config)
602
603
@classmethod
0 commit comments