Remove RawTextQuery.changeQuery in favor of getNewFullQuery

Also includes the following:
- Introduce typing in RawTextQuery
- Remove an outdated description based on the change
- Refactor setting the autocomplete_location, its more clear to set the
variable in the construct instead of within the method
- Update unit tests to reflect the new method

rephrasing

format

undo change
This commit is contained in:
Grant Lanham 2024-06-15 22:43:45 -04:00
parent f5eb56b63f
commit 81f0cb01e8
4 changed files with 39 additions and 25 deletions

View file

@ -144,6 +144,7 @@ class EngineProcessor(ABC):
- A page-number > 1 when engine does not support paging.
- A time range when the engine does not support time range.
"""
# if paging is not supported, skip
if search_query.pageno > 1 and not self.engine.paging:
return None