MCPcopy Create free account
hub / github.com/celery/celery / delete

Method delete

celery/backends/couchbase.py:145–151  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

143 return values
144
145 def delete(self, key):
146 try:
147 self.connection.remove(key)
148 except DocumentNotFoundException:
149 # Deleting an absent (already expired or forgotten) key is a
150 # no-op, matching the other KV backends.
151 pass

Callers 2

test_deleteMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by 2

test_deleteMethod · 0.76