kappa_sdk.user_tasks.RedefinitionModeEnum#

class kappa_sdk.user_tasks.RedefinitionModeEnum(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Redefinition modes enumeration.

An enumeration of user task redefinition modes (start, current, other).

Attributes

RedefinitionModeEnum.start

Reset the user task from its start date (i.e. remove all existing data).

RedefinitionModeEnum.current

Reset the user task from the current date (i.e. continue from existing data).

RedefinitionModeEnum.other

Reset the user task from a specific date (i.e. keep part of existing 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.