mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
fw/output: add augmentations to RunOutput
Add a property that gives augmentations used by all jobs in the run to RunOutput.
This commit is contained in:
parent
06fc361f47
commit
117f0f9fc4
@ -181,6 +181,14 @@ class RunOutput(Output):
|
||||
if self._combined_config:
|
||||
return self._combined_config.settings
|
||||
|
||||
@property
|
||||
def augmentations(self):
|
||||
run_augs = set([])
|
||||
for job in self.jobs:
|
||||
for aug in job.spec.augmentations:
|
||||
run_augs.add(aug)
|
||||
return list(run_augs)
|
||||
|
||||
def __init__(self, path):
|
||||
super(RunOutput, self).__init__(path)
|
||||
self.info = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user