Skip to content

Threshold

Source code in docs_src/capo_databrew/types/threshold.py
class Threshold(TypedDict, closed=True):
    value: "capo_databrew.types.threshold_value.ThresholdValue"
    """<p>The value of a threshold.</p>"""
    type: NotRequired["capo_databrew.types.threshold_type.ThresholdType"]
    """<p>The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.</p>"""
    unit: NotRequired["capo_databrew.types.threshold_unit.ThresholdUnit"]
    """<p>Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.</p>"""

type instance-attribute

type: NotRequired[ThresholdType]

The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.

unit instance-attribute

unit: NotRequired[ThresholdUnit]

Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.

value instance-attribute

The value of a threshold.