Shortcut for a standard subclass of Task(). Can be used as a decorator.

def taskit(func):
    """
    Shortcut for a standard subclass of Task(). Can be used as a decorator.
    """
    class NewTask(Task):
        def work(self, *args, **kw):
            return func(*args, **kw)
    return NewTask()