mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add ttl argument to redis client set operation (#4788)
This commit is contained in:
1
third_party/2and3/redis/client.pyi
vendored
1
third_party/2and3/redis/client.pyi
vendored
@@ -183,6 +183,7 @@ class Redis(object):
|
||||
px: Union[None, int, timedelta] = ...,
|
||||
nx: bool = ...,
|
||||
xx: bool = ...,
|
||||
keepttl: bool = ...,
|
||||
) -> Optional[bool]: ...
|
||||
def __setitem__(self, name, value): ...
|
||||
def setbit(self, name: _Key, offset: int, value: int) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user