def reverse_url(site_nickname):
    """Construct the function that returns reverse URLs."""
    def reverse(url_name):
        site = app.config["REVERSE_URLS"].get(site_nickname)
        if site is None:
            return ""
        else:
            return site.get(url_name, "")
    return reverse
dataset/ETHPy150Open stochastic-technologies/static-appengine-hoster/application/__init__.py/reverse_url/original