Skip to main content

SearchResults

This class represents a collection of search results. It allows for combining multiple search result sets and provides string representations for displaying the results, both in full and in a shortened format.

Attributes

  • results: list[SearchResult]
    • A list of SearchResult objects.

Methods

def short_str()
  • Returns a concise string representation of the search results by calling the str method with the short parameter set to True.

  • Return Value: string

    • A formatted string containing the short representations of the search results.