betodealmeida commented on code in PR #34388:
URL: https://github.com/apache/superset/pull/34388#discussion_r2304901931
##########
superset/commands/database/test_connection.py:
##########
@@ -108,33 +109,37 @@ def run( # noqa: C901
)
)
+ # collect SSH tunnel info
+ ssh_tunnel_properties = self._properties.get("ssh_tunnel")
+ if ssh_tunnel_properties and self._model and self._model.ssh_tunnel:
+ # unmask password while allowing for updated values
+ ssh_tunnel_properties = unmask_password_info(
+ ssh_tunnel_properties,
+ self._model.ssh_tunnel,
+ )
+
+ database: Database | None = None
Review Comment:
`validate()` will have checked the FF by this point
--
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]