1 UP_SQL = """ 2 INSERT INTO afe_jobs_dependency_labels (job_id, label_id) 3 SELECT job_id, meta_host FROM afe_host_queue_entries 4 WHERE NOT complete AND NOT active AND status="Queued" AND NOT aborted; 5 """ 6 7 DOWN_SQL=""" 8 """ 9