-   Notifications  You must be signed in to change notification settings 
- Fork 2.6k
Closed
Description
Version:
- redis:- 7.0.8
- redis-py:- 4.3.4
Platform:
Any platform.
Description:
The smismember command is incorrectly typed and tested as returning list[bool] instead of list[Literal[0] | Literal[1]]. See https://redis.io/commands/smismember/.
client = redis.Redis(...) result = client.smismember('key', ['1', '2']) result == [0, 0] Metadata
Metadata
Assignees
Labels
No labels