code: def load_or_import_from_config(key, app=None, default=None):
      
      app = app or current_app
      imp = app.config.get(key)
      return obj_or_import_string(imp, default=default)
docs: Load or import value from config.
  
      :returns: The loaded value.