Source code for kappa_sdk.user_tasks.redefinition_mode_enum
from enum import Enum
[docs]
class RedefinitionModeEnum(Enum):
""" Redefinition modes enumeration.
An enumeration of user task redefinition modes (start, current, other).
"""
start = 'Start'
"""
Reset the user task from its start date (i.e. remove all existing data)
This mode completely restarts the task, eliminating all previously collected data.
"""
current = 'Current'
"""
Reset the user task from the current date (i.e. continue from existing data)
This mode preserves all existing data and continues the task from the present date.
"""
other = 'Other'
"""
Reset the user task from a specific date (i.e. keep part of existing data)
This mode allows specifying a custom date from which to reset the task,
preserving data before that date and removing data after it.
"""