Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search issue 494 #495

Merged
merged 5 commits into from
Dec 31, 2023
Merged

Search issue 494 #495

merged 5 commits into from
Dec 31, 2023

Conversation

jcbirdwell
Copy link
Contributor

fixes #494 and adds option to return historical items, ignored by default.

@@ -233,7 +233,8 @@ def parse_func(contents):

def get_search_suggestions(self,
query: str,
detailed_runs=False) -> Union[List[str], List[Dict]]:
detailed_runs=False,
include_history=False) -> Union[List[str], List[Dict]]:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no need to make this an option, is there? We can just make this the default and remove the option

What's more relevant is a flag to determine whether a suggestion originates from the history. Is this discernible with the current solution?

@sigma67 sigma67 merged commit 1971121 into sigma67:master Dec 31, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError: 'searchSuggestionRenderer' when using get_search_suggestions with 'a' as query
2 participants