redis.zadd("myset", {"a": 1, "b": 2, "c": 3}) assert redis.zpopmin("myset") == [("a", 1)]
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
Was this page helpful?