def create_storage(app):
    if 'STORAGE' not in app.config:
        raise Exception("Missing STORAGE config key")

    storage = importlib.import_module('.' + app.config['STORAGE'], __name__)
    return storage.create_storage(app)
Load specified storage and return the object.
dataset/ETHPy150Open bepasty/bepasty-server/bepasty/storage/__init__.py/create_storage