File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
elementary/monitor/api/report Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ def _get_groups(
6363 ]
6464 )
6565
66+ def _get_exposures (
67+ self , models_api : ModelsAPI , upstream_node_ids : Optional [List [str ]] = None
68+ ) -> Dict [str , NormalizedExposureSchema ]:
69+ return models_api .get_exposures (upstream_node_ids = upstream_node_ids )
70+
6671 def get_report_data (
6772 self ,
6873 days_back : int = 7 ,
@@ -101,7 +106,9 @@ def get_report_data(
101106 lineage_node_ids .extend (models .keys ())
102107 sources = models_api .get_sources ()
103108 lineage_node_ids .extend (sources .keys ())
104- exposures = models_api .get_exposures (upstream_node_ids = lineage_node_ids )
109+ exposures = self ._get_exposures (
110+ models_api , upstream_node_ids = lineage_node_ids
111+ )
105112 lineage_node_ids .extend (exposures .keys ())
106113 singular_tests = tests_api .get_singular_tests ()
107114
You can’t perform that action at this time.
0 commit comments