diff --git a/valkey/commands/core.py b/valkey/commands/core.py index cb72e8dd..f1fe7656 100644 --- a/valkey/commands/core.py +++ b/valkey/commands/core.py @@ -2032,7 +2032,7 @@ def msetnx(self, mapping: Mapping[AnyKeyT, EncodableT]) -> ResponseT: items.extend(pair) return self.execute_command("MSETNX", *items) - def move(self, name: KeyT, db: int) -> ResponseT: + def move(self, name: KeyT, db: Union[str, int]) -> ResponseT: """ Moves the key ``name`` to a different Valkey database ``db``