def set_store(store, key=_store_registry_key, app=None):
 app = (app or webapp2.get_app())
 app.registry[key] = store

def set_store ( store , key = _store_registry_key , app = None ) : app = ( app or webapp2 . get_app ( ) ) app . registry [ key ] = store
sets an instance of :class:authstore in the app registry .