def load_or_import_from_config(key, app=None, default=None):
app = app or current_app<EOL>imp = app.config.get(key)<EOL>return obj_or_import_string(imp, default=default)<EOL>
Load or import value from config.