Loading openflexure_microscope/api/v2/views/actions/__init__.py +2 −2 Original line number Diff line number Diff line """ Top-level representation of enabled actions """ from flask import url_for from . import camera, stage, system from labthings.server.view import View Loading Loading @@ -74,7 +74,7 @@ class ActionsView(View): d = { "links": { "self": { "href": current_labthing().url_for(action["view_class"]), "href": url_for(action["view_class"].endpoint, _external=True), "mimetype": "application/json", **description_from_view(action["view_class"]), } Loading Loading
openflexure_microscope/api/v2/views/actions/__init__.py +2 −2 Original line number Diff line number Diff line """ Top-level representation of enabled actions """ from flask import url_for from . import camera, stage, system from labthings.server.view import View Loading Loading @@ -74,7 +74,7 @@ class ActionsView(View): d = { "links": { "self": { "href": current_labthing().url_for(action["view_class"]), "href": url_for(action["view_class"].endpoint, _external=True), "mimetype": "application/json", **description_from_view(action["view_class"]), } Loading