superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Fixing json decode error on druiddatasourcemodelview/api/read (#4291)
Date Fri, 26 Jan 2018 01:12:37 GMT
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 b9299d6  Fixing json decode error on druiddatasourcemodelview/api/read (#4291)
b9299d6 is described below

commit b9299d61acfaf12e6edc4f83f917e454b7e60740
Author: michellethomas <michelle.q.thomas@gmail.com>
AuthorDate: Thu Jan 25 17:12:34 2018 -0800

    Fixing json decode error on druiddatasourcemodelview/api/read (#4291)
---
 superset/connectors/druid/models.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py
index 5703809..b3582e3 100644
--- a/superset/connectors/druid/models.py
+++ b/superset/connectors/druid/models.py
@@ -91,6 +91,9 @@ class DruidCluster(Model, AuditMixinNullable, ImportMixin):
     def __repr__(self):
         return self.verbose_name if self.verbose_name else self.cluster_name
 
+    def __html__(self):
+        return self.__repr__()
+
     @property
     def data(self):
         return {

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.

Mime
View raw message