1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

framework/run: Store RunInfo attributes from constructor

This commit is contained in:
Brendan Jackman 2017-12-07 14:36:47 +00:00 committed by marcbonnici
parent 3337cd477e
commit 8032abc805

View File

@ -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__)