Closed isichei closed 6 years ago
Something like this
if pre_jobs[t].job_run_state in ['succeeded', 'stopped', 'failed'] : pre_jobs[t].delete_s3_job_temp_folder() pre_jobs[t].delete_job()
move delete_s3_job_temp_folder() and delete_job() into private functions and then make a single public function.
delete_s3_job_temp_folder()
delete_job()
Something like this