Skip to content

Commit 28f12d2

Browse files
committed
add type hints
1 parent 112ad7d commit 28f12d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3897,7 +3897,7 @@ def eval(self, script, numkeys, *keys_and_args):
38973897
"""
38983898
return self._eval("EVAL", script, numkeys, *keys_and_args)
38993899

3900-
def eval_ro(self, script, numkeys, *keys_and_args):
3900+
def eval_ro(self, script: str, numkeys: int, *keys_and_args: list) -> str:
39013901
"""
39023902
The read-only variant of the EVAL command
39033903

0 commit comments

Comments
 (0)