Skip to content

Commit 2cc653b

Browse files
committed
fix log
1 parent 4b9cada commit 2cc653b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/helpers/log_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def __str__(self) -> str:
416416
"usual"
417417
return str(self.data) if hasattr(self, "data") else str(self._data)
418418

419-
def view(self, view_def: CubeViewDef) -> pandas.DataFrame:
419+
def view(self, view_def: Union[str, CubeViewDef]) -> pandas.DataFrame:
420420
"""
421421
Returns a dataframe, a pivot view.
422422
`key_index` determines the index, the other key columns determines

0 commit comments

Comments
 (0)