def METHOD_NAME(cls, name):
    """Returns a class based on super class with a deprecation warning.
    Args:
        cls: The class to derive with a deprecation warning on __init__
        name: The name of the class.
    Returns:
        The modified class.
    """
    class DeprecatedClass(cls):
        """Provides a warning for the class name."""
        def __init__(self, *args, **kwargs):
            """Provides a warning for the class name."""
            renamed_warning(f"The class {name}")
            super(DeprecatedClass, self).__init__(*args, **kwargs)
    return DeprecatedClass