Skip to content

Commit

Permalink
Fixing json decode error on druiddatasourcemodelview/api/read (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas authored and mistercrunch committed Jan 26, 2018
1 parent 2384ad4 commit b9299d6
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 b9299d6

Please sign in to comment.