def route(self, rule, **options):
        def decorator(f):
            self.add_url_rule(rule, f.__name__, f, **options)
            return f
        return decorator
Like :meth:`Flask.route` but for a module.  The endpoint for the
dataset/ETHPy150Open hhstore/flask-annotated/flask-0.5/flask/module.py/Module.route