Returns a TaskConfig

def get_task(self, name):
        """ Returns a TaskConfig """
        config = getattr(self, "tasks__{}".format(name))
        if not config:
            raise TaskNotFoundError("Task not found: {}".format(name))
        return TaskConfig(config)