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:
parent
edfbee291b
commit
e55f48089b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user