retask.task

This module conatins generic task class, which can be used to create any kind of given task with serializable python objects as data.

class retask.task.Task(data=None, raw=False)

Returns a new Task object, the information for the task is passed through argument data

Parameters:data – Python object which contains information for the task. Should be serialzable through JSON.
data

The python object containing information for the current task

rawdata

The string representation of the actual python objects for the task

Note

This should not be used directly by the users. This is for internal use only.

Retask is a simple task queue implementation written for human beings. It provides generic solution to create and manage task queues.

Related Topics

This Page

Fork me on GitHub