mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	framework/run: Store RunInfo attributes from constructor
This commit is contained in:
		
				
					committed by
					
						 marcbonnici
						marcbonnici
					
				
			
			
				
	
			
			
			
						parent
						
							3337cd477e
						
					
				
				
					commit
					8032abc805
				
			| @@ -41,12 +41,12 @@ class RunInfo(object): | ||||
|     def __init__(self, run_name=None, project=None, project_stage=None, | ||||
|                  start_time=None, end_time=None, duration=None): | ||||
|         self.uuid = uuid.uuid4() | ||||
|         self.run_name = None | ||||
|         self.project = None | ||||
|         self.project_stage = None | ||||
|         self.start_time = None | ||||
|         self.end_time = None | ||||
|         self.duration = None | ||||
|         self.run_name = run_name | ||||
|         self.project = project | ||||
|         self.project_stage = project_stage | ||||
|         self.start_time = start_time | ||||
|         self.end_time = end_time | ||||
|         self.duration = duration | ||||
|  | ||||
|     def to_pod(self): | ||||
|         d = copy(self.__dict__) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user