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

Method save

hypothesis/src/hypothesis/database.py:235–240  ·  view source on GitHub ↗

Save ``value`` under ``key``. If ``value`` is already present in ``key``, silently do nothing.

(self, key: bytes, value: bytes)

Source from the content-addressed store, hash-verified

233
234 @abc.abstractmethod
235 def save(self, key: bytes, value: bytes) -> None:
236 """Save ``value`` under ``key``.
237
238 If ``value`` is already present in ``key``, silently do nothing.
239 """
240 raise NotImplementedError(f"{type(self).__name__}.save")
241
242 @abc.abstractmethod
243 def fetch(self, key: bytes) -> Iterable[bytes]:

Callers 3

moveMethod · 0.95
saveMethod · 0.45
fuzz_one_inputFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected