PercentThreshold
classView source ↗
class PercentThreshold(
percent: Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0), Le(le=100)])] | Annotated[float, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0), Le(le=100)])],
)
Bases: Threshold
Categories: dq-operator
A threshold based on a percentage of total rows.
Initializes the threshold with a percentage.
Parameters
parameter
percentThe percentage of rows that, if met or exceeded, will trigger the Fail operation.
Properties
property
percentfloatReturns the percentage for the threshold.