Re-enable the AnnotationLayerModelView read API (#9443)

* Re-enable the AnnotationLayerModelView read API

* Fix CI
This commit is contained in:
Erik Ritter
2020-04-19 10:19:50 -07:00
committed by GitHub
parent 636ee5d19a
commit 06471f5877

View File

@@ -95,7 +95,7 @@ class AnnotationLayerModelView(
SupersetModelView, DeleteMixin
): # pylint: disable=too-many-ancestors
datamodel = SQLAInterface(AnnotationLayer)
include_route_methods = RouteMethod.CRUD_SET
include_route_methods = RouteMethod.CRUD_SET | {RouteMethod.API_READ}
list_title = _("List Annotation Layer")
show_title = _("Show Annotation Layer")