mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Fix duplicate property DruidDatasource.database (#2348)
fixes https://github.com/airbnb/superset/issues/2347
This commit is contained in:
parent
af3415b040
commit
bd480e0c6b
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user