Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
str
required
The key of the set to remove the member from.
members
*List[str]
One or more members to remove from the set.

Response

How many members were removed
redis.sadd("myset", "one", "two", "three")

assert redis.srem("myset", "one", "four") == 1