MCPcopy
hub / github.com/redis/redis-py / restore

Method restore

redis/commands/core.py:4076–4085  ·  view source on GitHub ↗
(
        self: SyncClientProtocol,
        name: KeyT,
        ttl: float,
        value: EncodableT,
        replace: bool = False,
        absttl: bool = False,
        idletime: int | None = None,
        frequency: int | None = None,
    )

Source from the content-addressed store, hash-verified

4074
4075 @overload
4076 def restore(
4077 self: SyncClientProtocol,
4078 name: KeyT,
4079 ttl: float,
4080 value: EncodableT,
4081 replace: bool = False,
4082 absttl: bool = False,
4083 idletime: int | None = None,
4084 frequency: int | None = None,
4085 ) -> bytes | str: ...
4086
4087 @overload
4088 def restore(

Calls 3

DataErrorClass · 0.90
appendMethod · 0.45
execute_commandMethod · 0.45