rheon.RheonWarning

class rheon.RheonWarning[source]

Bases: Warning

The base class of every warning this library issues.

Filter on it to silence or surface every warning of this library at once, as Polars’ PolarsWarning covers Polars’ own. Each warning keeps its standard category as a second parent, so a filter on that category goes on working:

the warning

its standard category

ReadinessWarning, OrderNotGuaranteedWarning, ConsumedSourceWarning and UnstableWarning

UserWarning

RheonDeprecationWarning

DeprecationWarning

Examples

import warnings

warnings.simplefilter("ignore", rp.RheonWarning)   # every one of them
print(issubclass(rp.ReadinessWarning, rp.RheonWarning))
True