diff --git a/superset/constants.py b/superset/constants.py index 78b47e53f75ed..64e2136f851f5 100644 --- a/superset/constants.py +++ b/superset/constants.py @@ -46,6 +46,7 @@ class RouteMethod: # pylint: disable=too-few-public-methods EDIT = "edit" LIST = "list" SHOW = "show" + INFO = "info" # RestModelView specific EXPORT = "export" @@ -58,4 +59,4 @@ class RouteMethod: # pylint: disable=too-few-public-methods # Commonly used sets CRUD_SET = {ADD, LIST, EDIT, DELETE, ACTION_POST} RELATED_VIEW_SET = {ADD, LIST, EDIT, DELETE} - REST_MODEL_VIEW_CRUD_SET = {DELETE, GET, GET_LIST, POST, PUT} + REST_MODEL_VIEW_CRUD_SET = {DELETE, GET, GET_LIST, POST, PUT, INFO}