MCPcopy Create free account
hub / github.com/HypothesisWorks/hypothesis / delete

Method delete

hypothesis/src/hypothesis/database.py:246–251  ·  view source on GitHub ↗

Remove ``value`` from ``key``. If ``value`` is not present in ``key``, silently do nothing.

(self, key: bytes, value: bytes)

Source from the content-addressed store, hash-verified

244
245 @abc.abstractmethod
246 def delete(self, key: bytes, value: bytes) -> None:
247 """Remove ``value`` from ``key``.
248
249 If ``value`` is not present in ``key``, silently do nothing.
250 """
251 raise NotImplementedError(f"{type(self).__name__}.delete")
252
253 def move(self, src: bytes, dest: bytes, value: bytes) -> None:
254 """

Callers 2

moveMethod · 0.95
deleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected