docs: def apply_args(job, inputs, optional_inputs=None):
      """
      This function is error checking before the job gets
      updated.
      :param job: Must be a valid job
      :param inputs: Must be a tuple type
      :param optional_inputs: optional for OptionalInputs
      :return: job
      """
      _apply_args_loop(job, inputs, INPUT_FIELD)
      _apply_args_loop(job, optional_inputs, OPTIONAL_FIELD)
      return job