def on_get(self, req, resp, **kwargs): # simulate that the endpoint is hit but raise a 404 because # the object isn't found in the database raise falcon.HTTPNotFound()