bito-code-review[bot] commented on PR #37315: URL: https://github.com/apache/superset/pull/37315#issuecomment-3781434008
<!-- Bito Reply --> The suggestion extracts the repeated OAuth2 check and redirect logic into a dedicated `try_oauth2` method, which appears in three methods in this PR (get_all_table_names_in_schema, get_all_view_names_in_schema, and get_all_materialized_view_names_in_schema). This reduces duplication, improves readability, and makes the code easier to maintain without altering the exception handling flow. -- 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]
