pacmanweb.tasks
Celery task that runs PACMan.
Module Contents
-
class pacmanweb.tasks.PACManTask
Bases: celery.Task
Task base class.
- Note:
When called tasks apply the run() method. This method must
be defined by all tasks (that is unless the __call__() method
is overridden).
-
on_failure(exc, task_id, args, kwargs, einfo)
Handle task failure.
-
pacmanweb.tasks.pacman_task(self, options={})
Execute PACMan task.
Parameters
- optionsdict, optional
Options for running PACMan.
Returns
- dict
Output of the PACMan run.