def reverse_url(site_nickname):
    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
Construct the function that returns reverse URLs.
dataset/ETHPy150Open stochastic-technologies/static-appengine-hoster/application/__init__.py/reverse_url