human
Complete this python program:
def expose_plugview(url='/'):
assistant
#Here is the Python program you requested.

    """Decorator to expose Flask\s pluggable view classes
    (``flask.views.View`` or ``flask.views.MethodView``).
    :param url:
    Relative URL for the view
    .. versionadded:: 1.0.4
    """
    def wrap(v):
        handler = expose(url, v.methods)
        if hasattr(v, 'as_view'):
            return handler(v.as_view(v.__name__))
        else:
            return handler(v)
    return wrap