Lines Matching refs:job_ids
1327 def get_status_counts(self, job_ids): argument
1332 if not job_ids:
1334 id_list = '(%s)' % ','.join(str(job_id) for job_id in job_ids)
1342 all_job_counts = dict((job_id, {}) for job_id in job_ids)
1663 job_ids = set([])
1686 job_ids = set([j.id for j in Job.objects.raw(raw_sql)])
1693 job_ids = set([j.id for j in Job.objects.raw(raw_sql)])
1704 job_ids |= set([j.id for j in query])
1713 job_ids |= set([j.id for j in query])
1715 if job_ids:
1719 'candidates': ','.join([str(i) for i in job_ids])})
1720 job_ids -= set([j.id for j in query])
1722 if job_ids:
1723 Job.objects.filter(pk__in=job_ids).update(shard=shard)
1724 return list(Job.objects.filter(pk__in=job_ids).all())