(self, func, msg, warning_class)
return config_handler
this function will wrap around parameters that are deprecated

        :param msg: deprecation message
        :param warning_class: class of warning exception to be raised
        :param func: function to be wrapped around
this function will wrap around parameters that are deprecated
this function will wrap around parameters that are deprecated
def _deprecated_config_handler(self, func, msg, warning_class):
        """ this function will wrap around parameters that are deprecated

        :param msg: deprecation message
        :param warning_class: class of warning exception to be raised
        :param func: function to be wrapped around
        """
        @wraps(func)
        def config_handler(*args, **kwargs):
            warnings.warn(msg, warning_class)
            return func(*args, **kwargs)

        return config_handler
def _deprecated_config_handler ( self , func , msg , warning_class ) : @ wraps ( func ) def config_handler ( * args , * * kwargs ) : warnings . warn ( msg , warning_class ) return func ( * args , * * kwargs ) return config_handler