Execute tasks and manage their results.
marvin.run()
function. This function creates and runs a task in a single call, accepting all the same arguments as the Task
constructor:
run()
method:
run_tasks()
function:
result_type
parameter:
is_pending()
: Task hasn’t startedis_running()
: Task is currently executingis_successful()
: Task completed successfullyis_failed()
: Task failed to completeis_skipped()
: Task was skippedis_complete()
: Task is done (successful, failed, or skipped)is_incomplete()
: Task isn’t done (pending or running)is_ready()
: Task can be run (dependencies are complete)