MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / has_key

Method has_key

join/LSH/datasketch/storage.py:853–855  ·  view source on GitHub ↗

Implement interface.

(self, key)

Source from the content-addressed store, hash-verified

851 return self._client.select_count(self.keys())
852
853 def has_key(self, key):
854 """Implement interface."""
855 return self._client.one(key) is not None
856
857 def empty_buffer(self):
858 """Implement interface."""

Callers

nothing calls this directly

Calls 1

oneMethod · 0.80

Tested by

no test coverage detected