def METHOD_NAME(cls, queryset_class, class_name=None):
    # This is overridden because :py:meth:`models.Manager.from_queryset`
    # uses `inspect` to retrieve the class methods, and the proxy class has
    # no direct members.
    queryset_class = get_override_class(
        VersionQuerySet,
        VersionQuerySet._default_class,  # pylint: disable=protected-access
    )
    return super().METHOD_NAME(queryset_class, class_name)