polars_online.UnstableWarning

class polars_online.UnstableWarning[source]

Bases: PolarsOnlineWarning, UserWarning, UnstableWarning

A warning that a part of the API not yet promised to stay the same was used.

It is issued only when the environment variable POLARS_ONLINE_WARN_UNSTABLE is 1, as Polars issues its own UnstableWarning under POLARS_WARN_UNSTABLE. It is a subclass of Polars’ class too, so a filter on polars.exceptions.UnstableWarning covers this library’s unstable parts as well.

Each unstable part says so in its docstring, and may change in any release without that counting as a breaking change:

Everything else in __all__ is promised.

Examples

print(issubclass(po.UnstableWarning, pl.exceptions.UnstableWarning))
True

See also