Antonio-RiveroMartnez commented on code in PR #27053: URL: https://github.com/apache/superset/pull/27053#discussion_r1483591138
########## superset/utils/decorators.py: ########## @@ -191,3 +191,22 @@ def wrapped(*args: Any, **kwargs: Any) -> Any: def on_security_exception(self: Any, ex: Exception) -> Response: return self.response(403, **{"message": utils.error_msg_from_exception(ex)}) + + +@contextmanager +def suppress_logging( Review Comment: Not blocking: could we add some tests here? https://github.com/apache/superset/blob/master/tests/unit_tests/utils/test_decorators.py -- 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