mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add replace parameter for redis restore (#5668)
This commit is contained in:
@@ -4,7 +4,6 @@ redis.client.Pipeline.flushall
|
||||
redis.client.Pipeline.flushdb
|
||||
redis.client.Pipeline.hscan
|
||||
redis.client.Pipeline.pubsub
|
||||
redis.client.Pipeline.restore
|
||||
redis.client.Pipeline.scan
|
||||
redis.client.Pipeline.scan_iter
|
||||
redis.client.Pipeline.shutdown
|
||||
|
||||
@@ -947,7 +947,7 @@ class Pipeline(Redis[_StrType], Generic[_StrType]):
|
||||
def randomkey(self) -> Pipeline[_StrType]: ... # type: ignore [override]
|
||||
def rename(self, src, dst) -> Pipeline[_StrType]: ... # type: ignore [override]
|
||||
def renamenx(self, src, dst) -> Pipeline[_StrType]: ... # type: ignore [override]
|
||||
def restore(self, name, ttl, value) -> Pipeline[_StrType]: ... # type: ignore [override]
|
||||
def restore(self, name, ttl, value, replace: bool = ...) -> Pipeline[_StrType]: ... # type: ignore [override]
|
||||
def set( # type: ignore [override]
|
||||
self,
|
||||
name: _Key,
|
||||
|
||||
Reference in New Issue
Block a user