|
@@ -221,8 +221,9 @@ class AsyncResult(ResultBase):
|
|
return not self.__eq__(other)
|
|
return not self.__eq__(other)
|
|
|
|
|
|
def __copy__(self):
|
|
def __copy__(self):
|
|
- r = self.__reduce__()
|
|
|
|
- return r[0](*r[1])
|
|
|
|
|
|
+ return self.__class__(
|
|
|
|
+ self.id, self.backend, self.task_name, self.app, self.parent,
|
|
|
|
+ )
|
|
|
|
|
|
def __reduce__(self):
|
|
def __reduce__(self):
|
|
return self.__class__, self.__reduce_args__()
|
|
return self.__class__, self.__reduce_args__()
|