You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/07/09 02:45:19 UTC
[superset] 01/01: update db for expose in sqllab param
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/fix-expose_in_sqllab
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 301ce8629e36139a8813f35f5c170706fd2c0085
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Jul 8 19:43:17 2021 -0700
update db for expose in sqllab param
---
superset/databases/api.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset/databases/api.py b/superset/databases/api.py
index 5d307c4..ef75fce 100644
--- a/superset/databases/api.py
+++ b/superset/databases/api.py
@@ -246,6 +246,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
new_model = CreateDatabaseCommand(g.user, item).run()
# Return censored version for sqlalchemy URI
item["sqlalchemy_uri"] = new_model.sqlalchemy_uri
+ item["expose_in_sqllab"] = new_model.expose_in_sqllab
# If parameters are available return them in the payload
if new_model.parameters: