code: def translate_job_state(code):
      '''AUX Function to translate the (numeric) state of a Job.
  
      Args:
          nr (int): A valid number to translate.
  
      Returns:
          HTTP response. JSON body.
      '''
      code_description = ""
      if code == "0":
          code_description = "Queued"
      if code == "1":
          code_description = "Scheduled"
      if code == "2":
          code_description = "Processing"
      if code == "3":
          code_description = "Finished"
      if code == "4":
          code_description = "Error"
      if code == "5":
          code_description = "Canceled"
      if code == "6":
          code_description = "Canceling"
  
      return code_descriptiof translate_job_state(code):
      '''AUX Function to translate the (numeric) state of a Job.
  
      Args:
          nr (int): A valid number to translate.
  
      Returns:
          HTTP response. JSON body.
      '''
      code_description = ""
      if code == "0":
          code_description = "Queued"
      if code == "1":
          code_description = "Scheduled"
      if code == "2":
          code_description = "Processing"
      if code == "3":
          code_description = "Finished"
      if code == "4":
          code_description = "Error"
      if code == "5":
          code_description = "Canceled"
      if code == "6":
          code_description = "Canceling"
  
      return code_description
docs: AUX Function to translate the (numeric) state of a Job.
  
      Args:
          nr (int): A valid number to translate.
  
      Returns:
          HTTP response. JSON body.