human
Complete this python program:
def expose(url='/', methods=('GET',)):
assistant
#Here is the Python code you requested.

    """Use this decorator to expose views in your view classes.
    :param url:
    Relative URL for the view
    :param methods:
    Allowed HTTP methods. By default only GET is allowed.
    """
    def wrap(f):
        if (not hasattr(f, '_urls')):
            f._urls = []
        f._urls.append((url, methods))
        return f
    return wrap