hughhhh commented on code in PR #22120:
URL: https://github.com/apache/superset/pull/22120#discussion_r1023060157
##########
superset/databases/dao.py:
##########
@@ -124,3 +125,13 @@ def get_related_objects(cls, database_id: int) ->
Dict[str, Any]:
return dict(
charts=charts, dashboards=dashboards,
sqllab_tab_states=sqllab_tab_states
)
+
+ @classmethod
+ def get_related_ssh_tunnel(cls, database_id: int) -> Dict[str, Any]:
Review Comment:
let's just call the `get_ssh_tunnel` since it's a 1 to 1 relationship
--
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]