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

Method migrate

redis/commands/core.py:1770–1781  ·  view source on GitHub ↗
(
        self: SyncClientProtocol,
        host: str,
        port: int,
        keys: KeysT,
        destination_db: int,
        timeout: int,
        copy: bool = False,
        replace: bool = False,
        auth: str | None = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

1768
1769 @overload
1770 def migrate(
1771 self: SyncClientProtocol,
1772 host: str,
1773 port: int,
1774 keys: KeysT,
1775 destination_db: int,
1776 timeout: int,
1777 copy: bool = False,
1778 replace: bool = False,
1779 auth: str | None = None,
1780 **kwargs,
1781 ) -> bytes | str: ...
1782
1783 @overload
1784 def migrate(

Callers

nothing calls this directly

Calls 5

DataErrorClass · 0.90
list_or_argsFunction · 0.85
appendMethod · 0.45
extendMethod · 0.45
execute_commandMethod · 0.45

Tested by

no test coverage detected