Ehh whats up. I'd like to send a job such that the first agenda item runs before the rest (it's writing out files/doing prep work to be used by the remaining "real work items").
I have been trying something to the affect of the following code below. the individual agenda items are blocked as i expect, but something is wrong with my callback trigger, so the remaining work/agenda items don't unblock.
work_items = qb.genframes('pre, 1-10')
# block all frames except for "pre"
for w in work_items:
if w['name'] != 'pre':
w['status'] = 'blocked'
job = qb.Job()
# job setup
...
...
# im really not sure of the correct syntax here, especially of the code string.
job['callbacks'] = [{'triggers':'done-work-self-pre', 'language':'qube':, 'code':'unblock-work-self-*'}]
I suspect i may be missing somethign obvious entirely. thanks!