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

Method has_key

join/LSH/datasketch/storage.py:168–170  ·  view source on GitHub ↗

Determines whether the key is in the storage or not

(self, key)

Source from the content-addressed store, hash-verified

166
167 @abstractmethod
168 def has_key(self, key):
169 '''Determines whether the key is in the storage or not'''
170 pass
171
172 def status(self):
173 return {'keyspace_size': len(self)}

Callers 1

__contains__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected