def __copy__(self):
    return self.__class__(self.id, self.backend, self.task_name, self.app, self.parent)
def __copy__(self):
    return self.__class__(self.id, self.backend, self.task_name, self.app, self.parent)