def get_save_options(cls) -> Optional[tf.saved_model.SaveOptions]:
    """Retrieves a user set save_options, None if not set."""
    state = cls._get_topmost_state_frame()
    if state.save_options is not None:
      tf.compat.v1.logging.info('Using save_options: %s', state.save_options)
      return state.save_options
    return None
Retrieves a user set save_options, None if not set.
tensorflow_transform/beam/context.py