Tasks

All Task related methods.

class pyArango.tasks.Tasks(database)[source]

Tasks for database.

Initialise the database.

create(name, command, params=None, period=None, offset=None, task_id=None)[source]

Create a task with given command and its parameters.

delete(task_id)[source]

Delete the task for given task_id.

drop()[source]

delete all tasks

fetch(task_id=None)[source]

Fetch the task for given task_id. If task_id is None return all tasks