Lines Matching refs:tasks
150 tasks = models.SpecialTask.objects.filter(
154 self[host_id] = TaskCache(tasks, search_start_time, search_end_time)
161 def __init__(self, tasks=[], start_time=None, end_time=None): argument
164 self.tasks = tasks
180 return [task for task in self.tasks if task.queue_entry and
266 tasks = task_caches.try_get(self.host.id, self.id,
268 if tasks is None:
271 tasks = task_caches.try_get(self.host.id, self.id,
274 tasks = models.SpecialTask.objects.filter(
278 tasks = [task for task in tasks if task.queue_entry and
281 for task in tasks: