MCPcopy
hub / github.com/celery/celery / set

Method set

celery/backends/s3.py:69–72  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

67 raise error
68
69 def set(self, key, value):
70 key = bytes_to_str(key)
71 s3_object = self._get_s3_object(key)
72 s3_object.put(Body=value)
73
74 def delete(self, key):
75 key = bytes_to_str(key)

Callers 7

on_consumer_readyMethod · 0.45
on_stopMethod · 0.45
loopMethod · 0.45
replaceMethod · 0.45
add_to_chordMethod · 0.45
on_stopMethod · 0.45

Calls 2

_get_s3_objectMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected