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/01 22:46:20 UTC
[incubator-superset] 01/01: feat: add logging to warm_up_cache
endpoint
This is an automated email from the ASF dual-hosted git repository.
erikrit pushed a commit to branch etr2460--warmup-logging
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 210bcfabba21772bc44020d56a3f70af99941ba6
Author: Erik Ritter <er...@airbnb.com>
AuthorDate: Fri May 1 15:46:03 2020 -0700
feat: add logging to warm_up_cache endpoint
---
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"])