def organize_results()

in src/azinsights/organizer/DCGMMetricOrganizer.py [0:0]


    def organize_results(self, query_results: dict):
        logger.debug('organize_results')
        organized_results = []
        for result in query_results:
            try:
                metric_info = self.extract_metric_info(result)
                organized_results.append(metric_info)
            except KeyError:
                logger.warning('{} did not have expected format to properly extract metric information.'.format(result))
        return organized_results