Skip to content

Commit

Permalink
Fix duplicate property DruidDatasource.database (#2348)
Browse files Browse the repository at this point in the history
fixes #2347
  • Loading branch information
mistercrunch committed Mar 6, 2017
1 parent af3415b commit bd480e0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions superset/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1935,10 +1935,6 @@ class DruidDatasource(Model, AuditMixinNullable, Datasource, ImportMixin):
'cluster_name', 'is_featured', 'offset', 'cache_timeout', 'params'
)

@property
def database(self):
return self.cluster

@property
def metrics_combo(self):
return sorted(
Expand Down

0 comments on commit bd480e0

Please sign in to comment.