dpgaspar commented on code in PR #24067: URL: https://github.com/apache/superset/pull/24067#discussion_r1198672844
########## superset/databases/api.py: ########## @@ -237,6 +236,50 @@ class DatabaseRestApi(BaseSupersetModelRestApi): ValidateSQLResponse, ) + @expose("/<int:pk>/connection", methods=("GET",)) + @protect() + @safe + def get_connection(self, pk: int) -> Response: + """Get database connection info. + --- + get: + description: >- Review Comment: nit: I'm currently switching the description for summary, looks better on swagger -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org