def get_content(request, model, path):
    app = request.app
    if app.rest_api_client:
        api = app.api(request)
        return api.get((model.url, path) % '%s/%s').json()
    else:
        try:
            return model.get_instance(request, path)
        except DataError:
            raise Http404
dataset/ETHPy150Open quantmind/lux/lux/extensions/content/utils.py/get_content/swapped operands of `%`