@task(...)
Decorator used to turn a function into a Prism task.
from prism.decorators import task, target
from prism.target import Txt
@task(
retries=1,
retry_delay_second=60,
)
def example_task_function(tasks, hooks):
# do some stuff here
return ...