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/02/17 18:02:49 UTC

[superset] branch hugh/sqlalchemy-docs-2 updated: this

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

hugh pushed a commit to branch hugh/sqlalchemy-docs-2
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/hugh/sqlalchemy-docs-2 by this push:
     new 576ad16  this
576ad16 is described below

commit 576ad16a27171bade8be06fd78caac93fe772fc1
Author: hughhhh <hu...@gmail.com>
AuthorDate: Wed Feb 17 13:01:40 2021 -0500

    this
---
 superset/config.py     | 3 +++
 superset/views/base.py | 1 +
 2 files changed, 4 insertions(+)

diff --git a/superset/config.py b/superset/config.py
index 79eca21..9051264 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -1092,6 +1092,9 @@ GLOBAL_ASYNC_QUERIES_POLLING_DELAY = 500
 # It will get executed each time when user open a chart's explore view.
 DATASET_HEALTH_CHECK = None
 
+# SQLAlchema link doc reference
+SQLALCHEMY_DOCS_URL = "https://docs.sqlalchemy.org/en/rel_1_2/core/engines.html#"
+
 # -------------------------------------------------------------------
 # *                WARNING:  STOP EDITING  HERE                    *
 # -------------------------------------------------------------------
diff --git a/superset/views/base.py b/superset/views/base.py
index 69c9383..e71bb20 100644
--- a/superset/views/base.py
+++ b/superset/views/base.py
@@ -80,6 +80,7 @@ FRONTEND_CONF_KEYS = (
     "DISPLAY_MAX_ROW",
     "GLOBAL_ASYNC_QUERIES_TRANSPORT",
     "GLOBAL_ASYNC_QUERIES_POLLING_DELAY",
+    "SQLALCHEMY_DOCS_URL",
 )
 logger = logging.getLogger(__name__)