You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by er...@apache.org on 2020/05/02 01:01:55 UTC

[incubator-superset] branch master updated: feat: add logging to warm_up_cache endpoint (#9712)

This is an automated email from the ASF dual-hosted git repository.

erikrit 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 7f49666  feat: add logging to warm_up_cache endpoint (#9712)
7f49666 is described below

commit 7f496668cb8c13ddac79406a2763ba75a48255a3
Author: Erik Ritter <er...@airbnb.com>
AuthorDate: Fri May 1 18:01:38 2020 -0700

    feat: add logging to warm_up_cache endpoint (#9712)
---
 superset/views/core.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/views/core.py b/superset/views/core.py
index 641a68b..cb6683a 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1644,6 +1644,7 @@ class Superset(BaseSupersetView):
             payload.append(d)
         return json_success(json.dumps(payload, default=utils.json_int_dttm_ser))
 
+    @event_logger.log_this
     @api
     @has_access_api
     @expose("/warm_up_cache/", methods=["GET"])