MCPcopy Create free account
hub / github.com/celery/celery / AsyncResult

Method AsyncResult

celery/app/task.py:1050–1057  ·  view source on GitHub ↗

Get AsyncResult instance for the specified task. Arguments: task_id (str): Task id to get result for.

(self, task_id, **kwargs)

Source from the content-addressed store, hash-verified

1048 return EagerResult(task_id, retval, state, traceback=tb, name=self.name)
1049
1050 def AsyncResult(self, task_id, **kwargs):
1051 """Get AsyncResult instance for the specified task.
1052
1053 Arguments:
1054 task_id (str): Task id to get result for.
1055 """
1056 return self._get_app().AsyncResult(task_id, backend=self.backend,
1057 task_name=self.name, **kwargs)
1058
1059 def signature(self, args=None, *starargs, **starkwargs):
1060 """Create signature.

Calls 1

_get_appMethod · 0.95