Fokko commented on a change in pull request #4109: [AIRFLOW-3264] URL decoding 
when parsing URI for connection
URL: https://github.com/apache/incubator-airflow/pull/4109#discussion_r228759216
 
 

 ##########
 File path: airflow/models.py
 ##########
 @@ -808,6 +808,17 @@ def get_hook(self):
     def __repr__(self):
         return self.conn_id
 
+    def debug_info(self):
+        return ("id: {}. Host: {}, Port: {}, Schema: {}, "
+                "Login: {}, Password: {}, extra: {}".
+                format(self.conn_id,
+                       self.host,
+                       self.port,
+                       self.schema,
+                       self.login,
+                       "XXXXXXXX" if self.password else None,
 
 Review comment:
   Nice one

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to