MCPcopy
hub / github.com/celery/celery / as_tuple

Method as_tuple

celery/result.py:122–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 return result
121
122 def as_tuple(self):
123 parent = self.parent
124 return (self.id, parent and parent.as_tuple()), None
125
126 def as_list(self):
127 """Return as a list of task IDs."""

Callers 11

test_AsyncResultMethod · 0.95
test_with_parentMethod · 0.95
test_get_childrenMethod · 0.45
as_tupleMethod · 0.45
prepare_valueMethod · 0.45
fallback_chord_unlockMethod · 0.45
current_task_childrenMethod · 0.45
_save_groupMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_AsyncResultMethod · 0.76
test_with_parentMethod · 0.76
test_get_childrenMethod · 0.36