polars_cloud.Config.save#
- classmethod Config.save(*, if_set: bool = False) str#
Save the current set of Config options as a JSON string.
- Parameters:
- if_set
By default this will save the state of all configuration options; set to
Falseto save only those that have been set to a non-default value.
- Returns:
- str
JSON string containing current Config options.
See also
loadLoad (and set) Config options from a JSON string.
load_from_fileLoad (and set) Config options from a JSON file.
save_to_fileSave the current set of Config options as a JSON file.
Examples
>>> json_state = pl.Config.save()