Skip to content

Commit 8af8b4a

Browse files
spyinxaiven-sal
authored andcommitted
update typing for move
Signed-off-by: root <[email protected]>
1 parent 10eea71 commit 8af8b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

valkey/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,7 @@ def msetnx(self, mapping: Mapping[AnyKeyT, EncodableT]) -> ResponseT:
20322032
items.extend(pair)
20332033
return self.execute_command("MSETNX", *items)
20342034

2035-
def move(self, name: KeyT, db: int) -> ResponseT:
2035+
def move(self, name: KeyT, db: Union[str, int]) -> ResponseT:
20362036
"""
20372037
Moves the key ``name`` to a different Valkey database ``db``
20382038

0 commit comments

Comments
 (0)