yaotungyu

supa_batch_pubt_templ

Jun 15th, 2021
778
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from aronado import _sg_query_util
  2. shots = _sg_query_util.sg_list_shots(episodes=['105'])
  3. shots.sort()
  4.  
  5. from aronado import Batch_Creator
  6. reload(Batch_Creator)
  7. btchCrtr = Batch_Creator.Batch_Creator('tempLgtPub')
  8. btchCrtr.shot_list =shotss
  9.  
  10. btchCrtr.total_shots = len(btchCrtr.shot_list)
  11.  
  12. note_create = btchCrtr._create_batch_note()
  13. btchCrtr._populate_server_jobs(note_create['id'])
RAW Paste Data