mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +00:00 
			
		
		
		
	fw/output: expose metadata
Expose result.metadata as a property of the output.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user