redis.sadd("key1", "a", "b", "c") redis.sadd("key2", "c", "d", "e") assert redis.sunion("key1", "key2") == {"a", "b", "c", "d", "e"}
Return the union between sets
Was this page helpful?