Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ encode
Method
encode
celery/backends/base.py:511–513 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
509
return
result
510
511
def
encode(self, data):
512
_, _, payload = self._encode(data)
513
return
payload
514
515
def
_encode(self, data):
516
return
dumps(data, serializer=self.serializer)
Callers
15
_get_result_meta
Method · 0.95
await_redis_echo
Function · 0.45
test_callback_called_by_group
Method · 0.45
test_errback_called_by_group_fail_first
Method · 0.45
test_errback_called_by_group_fail_last
Method · 0.45
test_immutable_errback_called_by_chord_from_simple
Method · 0.45
test_immutable_errback_called_by_chord_from_chain
Method · 0.45
test_immutable_errback_called_by_chord_from_chain_tail
Method · 0.45
test_immutable_errback_called_by_chord_from_group
Method · 0.45
test_crud
Method · 0.45
test_asyncresult_forget_cancels_subscription
Method · 0.45
test_asyncresult_get_cancels_subscription
Method · 0.45
Calls
1
_encode
Method · 0.95
Tested by
15
await_redis_echo
Function · 0.36
test_callback_called_by_group
Method · 0.36
test_errback_called_by_group_fail_first
Method · 0.36
test_errback_called_by_group_fail_last
Method · 0.36
test_immutable_errback_called_by_chord_from_simple
Method · 0.36
test_immutable_errback_called_by_chord_from_chain
Method · 0.36
test_immutable_errback_called_by_chord_from_chain_tail
Method · 0.36
test_immutable_errback_called_by_chord_from_group
Method · 0.36
test_crud
Method · 0.36
test_asyncresult_forget_cancels_subscription
Method · 0.36
test_asyncresult_get_cancels_subscription
Method · 0.36
test_unicode_bytes
Method · 0.36