MCPcopy
hub / github.com/celery/celery / restore_group

Method restore_group

celery/backends/base.py:768–772  ·  view source on GitHub ↗

Get the result for a group.

(self, group_id, cache=True)

Source from the content-addressed store, hash-verified

766 return meta
767
768 def restore_group(self, group_id, cache=True):
769 """Get the result for a group."""
770 meta = self.get_group_meta(group_id, cache=cache)
771 if meta:
772 return meta['result']
773
774 def save_group(self, group_id, result):
775 """Store the result of an executed group."""

Callers 5

test_restore_groupMethod · 0.45
restoreMethod · 0.45

Calls 1

get_group_metaMethod · 0.95