

def configure(self, binder):
    binder.bind_scope(self.request_scope_class)
    self.bind(flask.Flask, to=self.app, scope=singleton)
    binder.bind(Config, to=self.app.config, scope=singleton)
    binder.bind(Request, to=(lambda : flask.request))

dataset/ETHPy150Open alecthomas/flask_injector/flask_injector.py FlaskModule.configure/VarMisuse@21/27 `binder`->`self`