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

Method getmany

join/LSH/datasketch/storage.py:1013–1018  ·  view source on GitHub ↗
(self, *keys)

Source from the content-addressed store, hash-verified

1011 return self._get_items(self._redis, self.redis_key(key))
1012
1013 def getmany(self, *keys):
1014 pipe = self._redis.pipeline()
1015 pipe.multi()
1016 for key in keys:
1017 self._get_items(pipe, self.redis_key(key))
1018 return pipe.execute()
1019
1020 @staticmethod
1021 def _get_items(r, k):

Callers

nothing calls this directly

Calls 2

_get_itemsMethod · 0.95
redis_keyMethod · 0.80

Tested by

no test coverage detected