docs: def save_batch(server_context, assay_id, batch):
      # type: (ServerContext, int, Batch) -> Union[Batch, None]
      """
      Saves a modified batch.
      :param server_context: A LabKey server context. See utils.create_server_context.
      :param assay_id: The assay protocol id.
      :param batch: The Batch to save.
      :return:
      """
      result = save_batches(server_context, assay_id, [batch])
  
      if result is not None:
          return result[0]
      return None