def stats_options_updater_fn(unused_stats_type, stats_options):
  """Callback function for setting pre and post-transform stats options.

  Args:
    unused_stats_type: a stats_options_util.StatsType object.
    stats_options: a tfdv.StatsOptions object.

  Returns:
    An updated tfdv.StatsOptions object.
  """
  return stats_options