update db for expose in sqllab param (#15609)
This commit is contained in:
parent
b5fc03f964
commit
f67e40236d
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue