Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ _encode
Method
_encode
celery/backends/base.py:699–700 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
697
return
payload
698
699
def
_encode(self, data):
700
return
dumps(data, serializer=self.serializer)
701
702
def
meta_from_decoded(self, meta):
703
if
meta[
'status'
] in self.EXCEPTION_STATES:
Callers
4
encode
Method · 0.95
test_decode_from_json
Method · 0.80
test_store_and_get_binary_result
Method · 0.80
encode
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_decode_from_json
Method · 0.64
test_store_and_get_binary_result
Method · 0.64