graceguo-supercat commented on a change in pull request #10963:
URL:
https://github.com/apache/incubator-superset/pull/10963#discussion_r495284455
##########
File path: superset/utils/decorators.py
##########
@@ -34,6 +34,10 @@
logger = logging.getLogger(__name__)
+def is_dashboard_request(kwargs: Any) -> bool:
+ return kwargs.get("dashboard_id_or_slug") is not None
Review comment:
after introduce this skip, `dashboard_id_or_slug` is not needed in
decorator function any more. this check is removed.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]