MCPcopy
hub / github.com/celery/celery / AsyncResult

Method AsyncResult

celery/app/task.py:873–880  ·  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

871 return EagerResult(task_id, retval, state, traceback=tb, name=self.name)
872
873 def AsyncResult(self, task_id, **kwargs):
874 """Get AsyncResult instance for the specified task.
875
876 Arguments:
877 task_id (str): Task id to get result for.
878 """
879 return self._get_app().AsyncResult(task_id, backend=self.backend,
880 task_name=self.name, **kwargs)
881
882 def signature(self, args=None, *starargs, **starkwargs):
883 """Create signature.

Callers 15

graph1Method · 0.45
test_apply_chordMethod · 0.45
test_forgetMethod · 0.45
test_save_groupMethod · 0.45
test_forgetMethod · 0.45
test_apply_chordMethod · 0.45
test_apply_chordMethod · 0.45

Calls 1

_get_appMethod · 0.95

Tested by 15

graph1Method · 0.36
test_apply_chordMethod · 0.36
test_forgetMethod · 0.36
test_save_groupMethod · 0.36
test_forgetMethod · 0.36
test_apply_chordMethod · 0.36
test_apply_chordMethod · 0.36