diff --git a/panoramix/models.py b/panoramix/models.py index 14fb39b0d6a78..7a7534db3c610 100644 --- a/panoramix/models.py +++ b/panoramix/models.py @@ -617,6 +617,12 @@ def metrics_combo(self): def name(self): return self.datasource_name + @property + def perm(self): + return ( + "[{self.cluster_name}].[{self.datasource_name}]" + "(id:{self.id})").format(self=self) + def __repr__(self): return self.datasource_name