fix: do not drop calculated column on metadata sync (#11731)

This commit is contained in:
Ville Brofeldt
2020-11-18 18:33:14 +02:00
committed by GitHub
parent 676e0bb282
commit 7ae8cd07cc
5 changed files with 81 additions and 10 deletions

View File

@@ -128,10 +128,8 @@ class BaseDatasource(
),
)
# placeholder for a relationship to a derivative of BaseColumn
columns: List[Any] = []
# placeholder for a relationship to a derivative of BaseMetric
metrics: List[Any] = []
columns: List["BaseColumn"] = []
metrics: List["BaseMetric"] = []
@property
def type(self) -> str: