Skip to main content

Get tasks

This function retrieves all the pending tasks in a stage.

from abstra.tasks import get_tasks

pending_tasks = get_tasks()
for task in pending_tasks:
# do some processing
task.complete()

This function returns a list of instances of the class Task.