Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 948ffc0

Browse files
committed
fix type mismatch error
1 parent c3ae9b2 commit 948ffc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

data_diff/info_tree.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
class SegmentInfo:
1010
tables: List[TableSegment]
1111

12-
diff: list[tuple[Any, ...]] = None
13-
diff_schema: tuple[tuple[str, type], ...] = None
12+
diff: List[Tuple[Any, ...]] = None
13+
diff_schema: Tuple[Tuple[str, type], ...] = None
1414
is_diff: bool = None
1515
diff_count: int = None
1616

1717
rowcounts: Dict[int, int] = {}
1818
max_rows: int = None
1919

20-
def set_diff(self, diff: List[Tuple[Any, ...]], schema: Optional[Tuple[Tuple[str, type]]] = None):
20+
def set_diff(self, diff: List[List[Any]], schema: Optional[Tuple[Tuple[str, type]]] = None):
2121
self.diff_schema = schema
2222
self.diff = diff
2323
self.diff_count = len(diff)

0 commit comments

Comments
 (0)