summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redis/commands/core.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis/commands/core.py b/redis/commands/core.py
index 593507d..278188e 100644
--- a/redis/commands/core.py
+++ b/redis/commands/core.py
@@ -3339,8 +3339,9 @@ class SetCommands(CommandsProtocol):
args = list_or_args(keys, args)
return self.execute_command("SINTERSTORE", dest, *args)
- def sismember(self, name: str, value: str) -> Union[Awaitable[Union[Literal[0],Literal[1]]],
- Union[Literal[0], Literal[1]]]:
+ def sismember(
+ self, name: str, value: str
+ ) -> Union[Awaitable[Union[Literal[0], Literal[1]]], Union[Literal[0], Literal[1]]]:
"""
Return whether ``value`` is a member of set ``name``:
- 1 if the value is a member of the set.