def METHOD_NAME(self):
    warnings.warn(
        "Use of scroll_to_row_hint trait is deprecated. "
        "Use scroll_to_position_hint instead.",
        DeprecationWarning,
    )
    return self.scroll_to_position_hint