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

Commit bf5f60d

Browse files
author
Sergey Vasilyev
committed
Make code compatible with Python 3.8
1 parent 00db9a4 commit bf5f60d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_diff/diff_tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from enum import Enum
77
from contextlib import contextmanager
88
from operator import methodcaller
9-
from typing import Dict, Set, List, Tuple, Iterator, Optional
9+
from typing import Dict, Set, List, Tuple, Iterator, Optional, Union
1010
from concurrent.futures import ThreadPoolExecutor, as_completed
1111

1212
import attrs
@@ -262,7 +262,7 @@ def _validate_and_adjust_columns(self, table1: TableSegment, table2: TableSegmen
262262

263263
def _diff_tables_root(
264264
self, table1: TableSegment, table2: TableSegment, info_tree: InfoTree
265-
) -> DiffResult | DiffResultList:
265+
) -> Union[DiffResult, DiffResultList]:
266266
return self._bisect_and_diff_tables(table1, table2, info_tree)
267267

268268
@abstractmethod

0 commit comments

Comments
 (0)