def get_run_time_period(run_steps):
init_ts_start = get_standardized_timestamp('<STR_LIT>', None)<EOL>ts_start = init_ts_start<EOL>ts_end = '<STR_LIT:0>'<EOL>for run_step in run_steps:<EOL><INDENT>if run_step.ts_start and run_step.ts_end:<EOL><INDENT>if run_step.ts_start < ts_start:<EOL><INDENT>ts_start = run_step.ts_start<EOL><DEDENT>if run_step.ts_end > ts_end:<EOL><INDENT>ts_end = run_step.ts_end<EOL><DEDENT><DEDENT><DEDENT>if ts_end == '<STR_LIT:0>':<EOL><INDENT>ts_end = None<EOL><DEDENT>if ts_start == init_ts_start:<EOL><INDENT>ts_start = None<EOL><DEDENT>logger.info('<STR_LIT>' + str(ts_start) + '<STR_LIT>' + str(ts_end))<EOL>return ts_start, ts_end<EOL>
This method finds the time range which covers all the Run_Steps

:param run_steps: list of Run_Step objects
:return: tuple of start and end timestamps