We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbb02d4 + 113d2af commit 50e6cddCopy full SHA for 50e6cdd
1 file changed
dfanalyzer/output.py
@@ -65,7 +65,9 @@ def handle_result(self, result: AnalyzerResultType):
65
66
def _create_summary(self, result: AnalyzerResultType, view_key: ViewKey) -> OutputSummary:
67
flat_view = result.flat_views[view_key]
68
- raw_stats = RawStats(**dask.compute(result.raw_stats)[0])
+ raw_stats = dask.compute(result.raw_stats)[0]
69
+ if isinstance(raw_stats, dict):
70
+ raw_stats = RawStats(**raw_stats)
71
summary = OutputSummary(
72
job_time=float(raw_stats.job_time),
73
layer_metrics={},
0 commit comments