def from_json(cls, json_dict):
        """Create a SearchResults object from a json representation."""
        search_results = cls(json_dict["objectives"])
        search_results._results = json_dict["results"]
        return search_results
Create a SearchResults object from a json representation.
olive/search/search_results.py