Add ttl argument to redis client set operation (#4788)

This commit is contained in:
Daniel O'Neel
2020-11-24 17:28:16 -08:00
committed by GitHub
parent ee69dd4de7
commit bd69ad1292

View File

@@ -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: ...