dpgaspar commented on code in PR #33255:
URL: https://github.com/apache/superset/pull/33255#discussion_r2106924511
##########
superset/views/alerts.py:
##########
@@ -43,6 +44,8 @@ def list(self) -> FlaskResponse:
@has_access
@permission_name("read")
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
+ from superset import is_feature_enabled
Review Comment:
nit: is it possible to move this import to the module level?
--
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]