def task(self, func, *args, **kwargs):
        task = self.gator.task_class(**self.task_kwargs)
        return self.gator.push(task, func, *args, **kwargs)
Pushes a task onto the queue (with the specified options).
dataset/ETHPy150Open toastdriven/alligator/alligator/gator.py/Options.task