Skip to content

Commit

Permalink
Fixing json decode error on druiddatasourcemodelview/api/read
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas committed Jan 25, 2018
1 parent 36caca3 commit 272f400
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 272f400

Please sign in to comment.