(task_list)
return set([t.get_field('job-id') for t in task_list])
Returns the set of job IDs for the given tasks.
Returns the set of job IDs for the given tasks.
Returns the set of job IDs for the given tasks .
def tasks_to_job_ids(task_list):
  """Returns the set of job IDs for the given tasks."""
  return set([t.get_field('job-id') for t in task_list])
def tasks_to_job_ids ( task_list ) : return set ( [ t . get_field ( 'job-id' ) for t in task_list ] )