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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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")