def METHOD_NAME(uuid):
    pid = PersistentIdentifier.query.filter_by(object_uuid=uuid).one()
    endpoint = get_endpoint_from_pid_type(pid.pid_type)
    search_conf = current_app.config['RECORDS_REST_ENDPOINTS'][endpoint]
    search_class = import_string(search_conf['search_class'])()
    return search_class.get_source(uuid)