Created
June 15, 2021 15:59
-
-
Save andreypopp/e8f454d1bc35093eb7d7adf49835ae21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ahh that's what I was missing, thanks Andrey!