Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_set_cache__children
Method · 0.95
test_AsyncResult
Method · 0.95
test_with_parent
Method · 0.95
test_GroupResult_as_tuple
Method · 0.95
test_encode_chain_results
Method · 0.45
test_get_children
Method · 0.45
as_tuple
Method · 0.45
prepare_value
Method · 0.45
fallback_chord_unlock
Method · 0.45
current_task_children
Method · 0.45
_save_group
Method · 0.45
Calls
no outgoing calls
Tested by
6
test_set_cache__children
Method · 0.76
test_AsyncResult
Method · 0.76
test_with_parent
Method · 0.76
test_GroupResult_as_tuple
Method · 0.76
test_encode_chain_results
Method · 0.36
test_get_children
Method · 0.36