polars_cloud.Config.set_single_node#

classmethod Config.set_single_node(active: bool | None = True) type[Config]#

Enable single node scaling mode independent of cluster state.

Examples

Set globally >>> pl.Config.set_single_node(True) # doctest: +SKIP >>> do_polars_operations()

Or set as context manager >>> with pl.Config(single_node=True): # doctest: +SKIP … do_polars_operations()