You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by er...@apache.org on 2020/04/02 01:01:24 UTC

[incubator-superset] branch etr2460--annotationlayermodelview-read created (now 3f187ca)

This is an automated email from the ASF dual-hosted git repository.

erikrit pushed a change to branch etr2460--annotationlayermodelview-read
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at 3f187ca  Re-enable the AnnotationLayerModelView read API

This branch includes the following new commits:

     new 3f187ca  Re-enable the AnnotationLayerModelView read API

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: Re-enable the AnnotationLayerModelView read API

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erikrit pushed a commit to branch etr2460--annotationlayermodelview-read
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 3f187ca3796259c8da45642ca01f2cc169909536
Author: Erik Ritter <er...@airbnb.com>
AuthorDate: Wed Apr 1 18:01:13 2020 -0700

    Re-enable the AnnotationLayerModelView read API
---
 superset/views/annotations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/views/annotations.py b/superset/views/annotations.py
index 5ba9750..7a81b18 100644
--- a/superset/views/annotations.py
+++ b/superset/views/annotations.py
@@ -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")