redis.sadd("myset", "one", "two", "three") assert redis.spop("myset") in {"one", "two", "three"}
Removes and returns one or more random members from a set.
count
Was this page helpful?