Skip to content

Commit

Permalink
Merge pull request apache#9 from michellethomas/mt_cherry_ds_api_read
Browse files Browse the repository at this point in the history
Fixing json decode error on druiddatasourcemodelview/api/read
  • Loading branch information
michellethomas authored Feb 7, 2018
2 parents 64e886f + f661a8f commit 15bde8f
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 15bde8f

Please sign in to comment.