def query(self, minhash):
        '''
        Giving the MinHash of the query dataset, retrieve 
        the keys that references datasets with Jaccard
        similarities greater than the threshold set by the index.
        '''
        if len(minhash) != self.h:
            raise ValueError("Expecting minhash with length %d, got %d"
                    % (self.h, len(minhash)))
        candidates = set()
        for (start, end), hashtable in zip(self.hashranges, self.hashtables):
            H = self._H(minhash.hashvalues[start:end])
            if hashtable in H:
                for key in hashtable[H]:
                    candidates.add(key)
        return list(candidates)
dataset/ETHPy150Open ekzhu/datasketch/datasketch/lsh.py/MinHashLSH.query/swapped operands of `in`