parameters: (self, job_name)
return_statement: return list(sorted(job.keys()))
docstring: Returns a list of valid task indices in the given job.
  
      Args:
        job_name: The string name of a job in this cluster.
  
      Returns:
        A list of valid task indices in the given job.
  
      Raises:
        ValueError: If `job_name` does not name a job in this cluster,
        or no task with index `task_index` is defined in that job.
docstring_summary: Returns a list of valid task indices in the given job.
docstring_tokens: Returns a list of valid task indices in the given job .
function: def task_indices(self, job_name):
      """Returns a list of valid task indices in the given job.
  
      Args:
        job_name: The string name of a job in this cluster.
  
      Returns:
        A list of valid task indices in the given job.
  
      Raises:
        ValueError: If `job_name` does not name a job in this cluster,
        or no task with index `task_index` is defined in that job.
      """
      try:
        job = self._cluster_spec[job_name]
      except KeyError:
        raise ValueError("No such job in cluster: %r" % job_name)
      return list(sorted(job.keys()))
function_tokens: def task_indices ( self , job_name ) : try : job = self . _cluster_spec [ job_name ] except KeyError : raise ValueError ( "No such job in cluster: %r" % job_name ) return list ( sorted ( job . keys ( ) ) )