Skip to main content
Version: 1.7.0

AllOk

class AllOk(
none_is_ok: bool = False,
nan_is_ok: bool = False,
tags: str | list[str] | NoneType = None,
)

Bases: BoolCriteria

Categories: dq-operator

A boolean criteria that selects records where all boolean classifiers pass (True).

Creates a criteria that selects records where all boolean classifiers pass (True).

Parameters

parameter
none_is_ok

If None values should be considered OK.

parameter
nan_is_ok

If NaN values should be considered OK.

parameter
tags

Optional tags to link this operator to specific classifiers.

Properties

property
nan_is_okbool

Returns if NaN values should be considered OK.

property
none_is_okbool

Returns if None values should be considered OK.

property
tagslist[str] | None

Returns the list of tags associated with this criteria.