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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9573fe3  added docs on proper function call for db mutator (#6826)
9573fe3 is described below

commit 9573fe338ed1084fb5c0a25d8770c66296262542
Author: Hugh A. Miles II <hughmi...@gmail.com>
AuthorDate: Wed Feb 6 13:17:15 2019 -0800

    added docs on proper function call for db mutator (#6826)
---
 superset/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/config.py b/superset/config.py
index 8480ef8..31bede6 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -493,7 +493,7 @@ DASHBOARD_TEMPLATE_ID = None
 # username. The function receives the connection uri object, connection
 # params, the username, and returns the mutated uri and params objects.
 # Example:
-#   def DB_CONNECTION_MUTATOR(uri, params, username, security_manager):
+#   def DB_CONNECTION_MUTATOR(uri, params, username, security_manager, source):
 #       user = security_manager.find_user(username=username)
 #       if user and user.email:
 #           uri.username = user.email

Reply via email to