polars.Config.state#

classmethod Config.state(if_set: bool = False) dict[str, str | None][source]#

Show the current state of all Config environment variables as a dict.

Parameters:
if_setbool

by default this will show the state of all Config environment variables. change this to True to restrict the returned dictionary to include only those that _have_ been set to a specific value.

Examples

>>> set_state = pl.Config.state(if_set=True)
>>> all_state = pl.Config.state()