This is an automated email from the ASF dual-hosted git repository.
graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new e0ad993 chore: add logging for "dashboard" action (#10744)
e0ad993 is described below
commit e0ad9935c145493b5cb6048f1aeab9018edd363a
Author: Grace Guo <[email protected]>
AuthorDate: Tue Sep 1 20:14:22 2020 -0700
chore: add logging for "dashboard" action (#10744)
---
superset/views/core.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset/views/core.py b/superset/views/core.py
index f3d5b71..7ddd801 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1584,6 +1584,7 @@ class Superset(BaseSupersetView): # pylint:
disable=too-many-public-methods
session.commit()
return json_success(json.dumps({"published": dash.published}))
+ @event_logger.log_this
@has_access
@expose("/dashboard/<dashboard_id_or_slug>/")
def dashboard( # pylint: disable=too-many-locals