We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b932f commit fac5ac1Copy full SHA for fac5ac1
gooddata-sdk/gooddata_sdk/catalog/workspace/model_container.py
@@ -49,7 +49,7 @@ def facts(self) -> list[CatalogFact]:
49
50
@property
51
def aggregated_facts(self) -> list[CatalogAggregatedFact]:
52
- return [f for d in self._datasets for f in d.aggregated_facts]
+ return [f for d in self._datasets for f in (d.aggregated_facts if d.aggregated_facts else [])]
53
54
55
def attributes(self) -> list[CatalogAttribute]:
0 commit comments