fix: create property for schema_perm for `Query` (#20871)
* create property for schema_perm * update references
This commit is contained in:
parent
cd578d2865
commit
35184b2994
|
|
@ -271,6 +271,10 @@ class Query(Model, ExtraJSONMixin, ExploreMixin): # pylint: disable=abstract-me
|
|||
def dttm_cols(self) -> List[Any]:
|
||||
return [col.get("column_name") for col in self.columns if col.get("is_dttm")]
|
||||
|
||||
@property
|
||||
def schema_perm(self) -> str:
|
||||
return f"{self.database.database_name}.{self.schema}"
|
||||
|
||||
@property
|
||||
def default_endpoint(self) -> str:
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue