mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-25 14:28:41 +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 []
|
||||||
return self.result.events
|
return self.result.events
|
||||||
|
|
||||||
|
@property
|
||||||
|
def metadata(self):
|
||||||
|
if self.result is None:
|
||||||
|
return {}
|
||||||
|
return self.result.metadata
|
||||||
|
|
||||||
def __init__(self, path):
|
def __init__(self, path):
|
||||||
self.basepath = path
|
self.basepath = path
|
||||||
self.result = None
|
self.result = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user