You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2020/01/28 21:35:23 UTC
[incubator-superset] branch john-bodley--fix-9035 created (now
66318a1)
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a change to branch john-bodley--fix-9035
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
at 66318a1 [routes] Re-adding FAB API routes for TableColumnInlineView
This branch includes the following new commits:
new 66318a1 [routes] Re-adding FAB API routes for TableColumnInlineView
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: [routes] Re-adding FAB API routes for
TableColumnInlineView
Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch john-bodley--fix-9035
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 66318a164adc6f9aa2bac40dc3e38613e61bc611
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Jan 28 13:34:44 2020 -0800
[routes] Re-adding FAB API routes for TableColumnInlineView
---
superset/connectors/sqla/views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset/connectors/sqla/views.py b/superset/connectors/sqla/views.py
index a6a34a3..390012d 100644
--- a/superset/connectors/sqla/views.py
+++ b/superset/connectors/sqla/views.py
@@ -50,7 +50,7 @@ logger = logging.getLogger(__name__)
class TableColumnInlineView(CompactCRUDMixin, SupersetModelView):
datamodel = SQLAInterface(models.TableColumn)
# TODO TODO, review need for this on related_views
- include_route_methods = RouteMethod.RELATED_VIEW_SET
+ include_route_methods = RouteMethod.RELATED_VIEW_SET | RouteMethod.API_SET
list_title = _("Columns")
show_title = _("Show Column")
@@ -227,7 +227,7 @@ class SqlMetricInlineView(CompactCRUDMixin, SupersetModelView):
class TableModelView(DatasourceModelView, DeleteMixin, YamlExportMixin):
datamodel = SQLAInterface(models.SqlaTable)
- include_route_methods = RouteMethod.CRUD_SET | RouteMethod.API_SET
+ include_route_methods = RouteMethod.CRUD_SET
list_title = _("Tables")
show_title = _("Show Table")