def rank(self, item, reverse=False):
        fn = reverse and self.database.zrevrank or self.database.zrank
        return fn(self.key, item)
Return the rank of the given item.
dataset/ETHPy150Open coleifer/walrus/walrus/containers.py/ZSet.rank