villebro commented on code in PR #21761:
URL: https://github.com/apache/superset/pull/21761#discussion_r991454471


##########
superset/views/database/views.py:
##########
@@ -25,7 +25,7 @@
 from flask_appbuilder import expose, SimpleFormView
 from flask_appbuilder.models.sqla.interface import SQLAInterface
 from flask_appbuilder.security.decorators import has_access
-from flask_babel import lazy_gettext as _
+from flask_babel import gettext, lazy_gettext as _

Review Comment:
   don't we have a convention of (mostly) aliasing `gettext` to `__`?



-- 
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]

Reply via email to