

def get(self, key, provider):
    try:
        return self._locals.scope[key]
    except KeyError:
        new_provider = self._locals.scope[key] = CachedProviderWrapper(provider)
        return new_provider

dataset/ETHPy150Open alecthomas/flask_injector/flask_injector.py RequestScope.get/original