Skip to content

No mistake option

NoMistakeOptionSetting #

NoMistakeOptionSetting(value: bool = True)

Bases: RapidataSetting

Enables a "No mistakes" button that allows users to skip task by confirming they found no errors in the media.

Parameters:

Name Type Description Default
value bool

Whether to enable the no mistakes button. Defaults to True.

True
Source code in src/rapidata/rapidata_client/settings/no_mistake_option.py
def __init__(self, value: bool = True):
    if not isinstance(value, bool):
        raise ValueError("The value must be a boolean.")

    super().__init__(key="no_mistake", value=value)