Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreypopp/e8f454d1bc35093eb7d7adf49835ae21 to your computer and use it in GitHub Desktop.
Save andreypopp/e8f454d1bc35093eb7d7adf49835ae21 to your computer and use it in GitHub Desktop.
diff --git a/src/rex.instrument_api/src/rex/instrument_api/resources/assessment.py b/src/rex.instrument_api/src/rex/instrument_api/resources/assessment.py
index c1c580fbe..e789828ec 100644
--- a/src/rex.instrument_api/src/rex/instrument_api/resources/assessment.py
+++ b/src/rex.instrument_api/src/rex/instrument_api/resources/assessment.py
@@ -8,7 +8,7 @@ from webob.exc import HTTPBadRequest, HTTPInternalServerError
from rex.core import StrVal, RecordVal, MapVal, Error
from rex.instrument import InstrumentError, ValidationError
from rex.instrument.util import get_implementation
-from rex.restful import RestfulLocation, DateVal
+from rex.restful import SimpleResource, RestfulLocation, DateVal
from rex.web import Parameter
@@ -20,7 +20,7 @@ __all__ = (
)
-class AssessmentLocation(RestfulLocation):
+class AssessmentLocation(SimpleResource):
path = '/assessment/{assessment_uid}'
parameters = (
Parameter('assessment_uid', StrVal()),
@samg-dev
Copy link

Ahh that's what I was missing, thanks Andrey!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment