villebro commented on code in PR #21486:
URL: https://github.com/apache/superset/pull/21486#discussion_r972963270
##########
superset/config.py:
##########
@@ -1102,6 +1103,13 @@ def EMAIL_HEADER_MUTATOR( # pylint:
disable=invalid-name,unused-argument
return msg
+# For database connections, this dictionary will remove engines from the
available
+# list/dropdown if you do not want these dbs to show as available.
+# The available list is generated by driver installed, and some drivers have
multiple
+# engines.
+# e.g., DBS_AVAILABLE_BLACKLIST: Dict[str, Tuple[str, ...]] = {"databricks":
("pyhive", "pyodbc")}
+DBS_AVAILABLE_BLACKLIST: Dict[str, Tuple[str, ...]] = {}
Review Comment:
A few years ago I replaced white-/blacklist terminology with
allow-/denylist: #10320, it would be nice to try to use the more neutral
terminology where possible
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]