(job_metadata, task_id)
return task_metadata
Returns a dict combining job metadata with the task id.
Returns a dict combining job metadata with the task id.
Returns a dict combining job metadata with the task id .
def get_task_metadata(job_metadata, task_id):
  """Returns a dict combining job metadata with the task id."""
  task_metadata = job_metadata.copy()
  task_metadata['task-id'] = task_id

  return task_metadata
def get_task_metadata ( job_metadata , task_id ) : task_metadata = job_metadata . copy ( ) task_metadata [ 'task-id' ] = task_id return task_metadata