MCPcopy
hub / github.com/celery/celery / get

Method get

celery/backends/gcs.py:86–92  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

84 )
85
86 def get(self, key):
87 key = bytes_to_str(key)
88 blob = self._get_blob(key)
89 try:
90 return blob.download_as_bytes(retry=self._retry_policy)
91 except storage.blob.NotFound:
92 return None
93
94 def set(self, key, value):
95 key = bytes_to_str(key)

Callers 3

__init__Method · 0.45
__init__Method · 0.45
on_chord_part_returnMethod · 0.45

Calls 1

_get_blobMethod · 0.95

Tested by

no test coverage detected