(self)
return result_dict
Returns the results from the analyzer session as a dict.
Returns the results from the analyzer session as a dict.
Returns the results from the analyzer session as a dict .
def results_dict(self):
        """Returns the results from the analyzer session as a dict."""
        result_dict = {}
        for entry in self._get_status_data():
            results = entry.get('results')
            if not results:
                results = 'No results yet.'
            name = entry.get('name', 'No Name')
            result_dict.setdefault(name, [])
            result_dict[name].append(results)
        return result_dict
def results_dict ( self ) : result_dict = { } for entry in self . _get_status_data ( ) : results = entry . get ( 'results' ) if not results : results = 'No results yet.' name = entry . get ( 'name' , 'No Name' ) result_dict . setdefault ( name , [ ] ) result_dict [ name ] . append ( results ) return result_dict