mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-17 06:25:58 +08:00
Add ttl argument to redis client set operation (#4788)
This commit is contained in:
Vendored
+1
@@ -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