mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
FixBug druidMetricModels No attribute get_perm (#6432)
This commit is contained in:
committed by
Maxime Beauchemin
parent
8307716d72
commit
fd54de7856
@@ -434,6 +434,9 @@ class DruidMetric(Model, BaseMetric):
|
||||
parent_name=self.datasource.full_name,
|
||||
) if self.datasource else None
|
||||
|
||||
def get_perm(self):
|
||||
return self.perm
|
||||
|
||||
@classmethod
|
||||
def import_obj(cls, i_metric):
|
||||
def lookup_obj(lookup_metric):
|
||||
|
||||
Reference in New Issue
Block a user