1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

fw/output: expose metadata

Expose result.metadata as a property of the output.
This commit is contained in:
Sergei Trofimov 2018-06-29 15:51:27 +01:00 committed by Marc Bonnici
parent edfbee291b
commit e55f48089b

View File

@ -81,6 +81,12 @@ class Output(object):
return []
return self.result.events
@property
def metadata(self):
if self.result is None:
return {}
return self.result.metadata
def __init__(self, path):
self.basepath = path
self.result = None