def lookup_job_tasks(self,<EOL>statuses,<EOL>user_ids=None,<EOL>job_ids=None,<EOL>job_names=None,<EOL>task_ids=None,<EOL>task_attempts=None,<EOL>labels=None,<EOL>create_time_min=None,<EOL>create_time_max=None,<EOL>max_tasks=<NUM_LIT:0>):
statuses = None if statuses == {'<STR_LIT:*>'} else statuses<EOL>user_ids = None if user_ids == {'<STR_LIT:*>'} else user_ids<EOL>job_ids = None if job_ids == {'<STR_LIT:*>'} else job_ids<EOL>job_names = None if job_names == {'<STR_LIT:*>'} else job_names<EOL>task_ids = None if task_ids == {'<STR_LIT:*>'} else task_ids<EOL>task_attempts = None if task_attempts == {'<STR_LIT:*>'} else task_attempts<EOL>if labels or create_time_min or create_time_max:<EOL><INDENT>raise NotImplementedError(<EOL>'<STR_LIT>')<EOL><DEDENT>operations = [<EOL>x for x in self._operations<EOL>if ((not statuses or x.get_field('<STR_LIT:status>', (None, None))[<NUM_LIT:0>] in statuses<EOL>) and (not user_ids or x.get_field('<STR_LIT:user>', None) in user_ids) and<EOL>(not job_ids or x.get_field('<STR_LIT>', None) in job_ids) and<EOL>(not job_names or x.get_field('<STR_LIT>', None) in job_names) and<EOL>(not task_ids or x.get_field('<STR_LIT>', None) in task_ids) and<EOL>(not task_attempts or<EOL>x.get_field('<STR_LIT>', None) in task_attempts))<EOL>]<EOL>if max_tasks > <NUM_LIT:0>:<EOL><INDENT>operations = operations[:max_tasks]<EOL><DEDENT>return operations<EOL>
Return a list of operations. See base.py for additional detail.