def set_store(store, key=_store_registry_key, app=None):
    'Sets an instance of :class:`AuthStore` in the app registry.\n\n    :param store:\n        An instance of :class:`AuthStore`.\n    :param key:\n        The key used to retrieve the instance from the registry. A default\n        is used if it is not set.\n    :param request:\n        A :class:`webapp2.WSGIApplication` instance used to retrieve the\n        instance. The active app is used if it is not set.\n    '
    app = (app or webapp2.get_app())
    app.registry[key] = store
Sets an instance of :class:`AuthStore` in the app registry.

:param store:
    An instance of :class:`AuthStore`.
:param key:
    The key used to retrieve the instance from the registry. A default
    is used if it is not set.
:param request:
    A :class:`webapp2.WSGIApplication` instance used to retrieve the
    instance. The active app is used if it is not set.
def set_store(store, key=_store_registry_key, app=None):
    'Sets an instance of :class:`AuthStore` in the app registry.\n\n    :param store:\n        An instance of :class:`AuthStore`.\n    :param key:\n        The key used to retrieve the instance from the registry. A default\n        is used if it is not set.\n    :param request:\n        A :class:`webapp2.WSGIApplication` instance used to retrieve the\n        instance. The active app is used if it is not set.\n    '
    app = (app or webapp2.get_app())
    app.registry[key] = store