You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2017/11/18 04:11:45 UTC

[incubator-superset] branch master updated: [druid] Renaming refresh_async method (#3899)

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

maximebeauchemin 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 4d204b3  [druid] Renaming refresh_async method (#3899)
4d204b3 is described below

commit 4d204b3b36d26ffada0a65ae4f912e0c9943c49b
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Fri Nov 17 20:11:44 2017 -0800

    [druid] Renaming refresh_async method (#3899)
---
 superset/connectors/druid/models.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py
index 0d455f9..c91dc71 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -122,9 +122,9 @@ class DruidCluster(Model, AuditMixinNullable):
             ds_refresh.append(datasource_name)
         else:
             return
-        self.refresh_async(ds_refresh, merge_flag, refreshAll)
+        self.refresh(ds_refresh, merge_flag, refreshAll)
 
-    def refresh_async(self, datasource_names, merge_flag, refreshAll):
+    def refresh(self, datasource_names, merge_flag, refreshAll):
         """
         Fetches metadata for the specified datasources andm
         merges to the Superset database

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].