def before_request(self, f):
        self._record(lambda s: s.app.before_request_funcs
            .setdefault(self.name, []).append(f))
        return f
Generate filter object for the given name
dataset/ETHPy150Open hhstore/flask-annotated/flask-0.5/flask/module.py/Module.before_request--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView.scaffold_filters