Skip to main content

SleepTask

This class represents a task that pauses execution for a specified duration. It is configured with a Sleep plugin, indicating its core functionality is to introduce a delay in a workflow.

Attributes

AttributeTypeDescription
plugin_config[Sleep](sleep.md?sid=flyte_extras__sleep_sleep)This attribute stores the configuration for the sleep plugin, which dictates how the sleep task will behave.
task_typestr = "core-sleep"This attribute defines the type of the task, used to identify it as a core sleep task within the system.