mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
fw/output: Add missing "augmentation" attribute to JobOutput
Add attribute to `JobOutput` to allow easy listing of enabled augmentations for individual jobs rather than just the overall run level.
This commit is contained in:
parent
8ddc1c1eba
commit
cf5c3a2723
@ -346,6 +346,13 @@ class JobOutput(Output):
|
|||||||
self.spec = None
|
self.spec = None
|
||||||
self.reload()
|
self.reload()
|
||||||
|
|
||||||
|
@property
|
||||||
|
def augmentations(self):
|
||||||
|
job_augs = set([])
|
||||||
|
for aug in self.spec.augmentations:
|
||||||
|
job_augs.add(aug)
|
||||||
|
return list(job_augs)
|
||||||
|
|
||||||
|
|
||||||
class Result(Podable):
|
class Result(Podable):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user