Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.update_groups_runs(self.vars)
# sort results for groups with global outputs
[
raw_results.append(
[group_result[key] for key in sorted(list(group_result.keys()))]
)
for group_result in unsort_rslts
if group_result
]
# import pprint
# pprint.pprint(raw_results)
# form results for global groups:
RSLTSOBJ = _results_class()
RSLTSOBJ.make_results(self.vars, raw_results, main_results=self.main_results)
self.main_results = RSLTSOBJ.results
# sort results for groups with group specific outputs
[
grps_raw_results.append(
# tuple item that contains group.outputs:
(
[
group_result[0][key]
for key in sorted(list(group_result[0].keys()))
],
group_result[1],
)
)
for group_result in grps_unsort_rslts