

def get_node(self, key):
    position = self.compute_ring_position(key)
    search_entry = (position, None)
    index = bisect.bisect_left(self.ring, search_entry)
    index %= len(self.ring)
    entry = entry.ring[index]
    return entry[1]

dataset/ETHPy150Open tmm1/graphite/webapp/graphite/render/hashing.py ConsistentHashRing.get_node/VarMisuse@53/65 `self`->`entry`