Skip to content
Snippets Groups Projects
Commit aba78cdd authored by Schiffer, Christian's avatar Schiffer, Christian
Browse files

Changed route to predictions

parent 56bce32d
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ api = Api(app,
project_namespace = api.namespace("projects", description="Operations to deal with projects")
annotation_namespace = api.namespace("annotations", description="Operations to deal with annotations")
predictions_namespace = api.namespace("predictions", description="Operations to deal with predictions")
# -----------------------------------
# Model definitions
......@@ -518,7 +519,7 @@ class AnnotationImportExport(Resource):
}
@annotation_namespace.route("/<int:project_id>/tasks/<int:task_id>")
@predictions_namespace.route("/<int:project_id>/tasks/<int:task_id>")
class PredictionAnnotationExport(Resource):
@annotation_namespace.doc("Retrieve annotations based on predictions of a specific task")
def get(self, project_id, task_id):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment