Skip to content

Commit

Permalink
Update redis/commands/search/query.py
Browse files Browse the repository at this point in the history
Co-authored-by: GuyAv46 <[email protected]>
  • Loading branch information
meiravgri and GuyAv46 authored Sep 12, 2023
1 parent 6590130 commit fb2b710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/commands/search/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def slop(self, slop):
def timeout(self, timeout):
"""overrides the timeout parameter of the module"""
if isinstance(timeout, int) and timeout >= 0:
self._timeout = timeou
self._timeout = timeout
else:
raise AttributeError("TIMEOUT requires a non negative integer.")
return self
Expand Down

0 comments on commit fb2b710

Please sign in to comment.