Skip to content

ThresholdsMode🔗

Thresholds can either be absolute (specific number) or percentage (relative to min or max, it will be values between 0 and 1).

Definition🔗

class ThresholdsMode(enum.StrEnum):
    """
    Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1).
    """

    ABSOLUTE = "absolute"
    PERCENTAGE = "percentage"