Commit 66871cb 1 parent e4bc915 commit 66871cb Copy full SHA for 66871cb
File tree 1 file changed +3
-2
lines changed
metadata-ingestion/src/datahub/ingestion/source
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 39
39
ChartTypeClass ,
40
40
DashboardInfoClass ,
41
41
)
42
+ from datahub .utilities .lossy_collections import LossyDict , LossyList
42
43
from datahub .utilities .perf_timer import PerfTimer
43
44
from datahub .utilities .sql_parser import SQLParser
44
45
@@ -282,7 +283,7 @@ class RedashConfig(ConfigModel):
282
283
@dataclass
283
284
class RedashSourceReport (SourceReport ):
284
285
items_scanned : int = 0
285
- filtered : List [str ] = field (default_factory = list )
286
+ filtered : LossyList [str ] = field (default_factory = LossyList )
286
287
queries_problem_parsing : Set [str ] = field (default_factory = set )
287
288
queries_no_dataset : Set [str ] = field (default_factory = set )
288
289
charts_no_input : Set [str ] = field (default_factory = set )
@@ -295,7 +296,7 @@ class RedashSourceReport(SourceReport):
295
296
)
296
297
max_page_dashboards : Optional [int ] = field (default = None )
297
298
api_page_limit : Optional [float ] = field (default = None )
298
- timing : Dict [str , int ] = field (default_factory = dict )
299
+ timing : LossyDict [str , int ] = field (default_factory = LossyDict )
299
300
300
301
def report_item_scanned (self ) -> None :
301
302
self .items_scanned += 1
You can’t perform that action at this time.
0 commit comments