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

Commit 711b919

Browse files
committed
Removed Literal from DiffResult type to support Python 3.7
1 parent 1c38e18 commit 711b919

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
@@ -2,7 +2,7 @@
22
"""
33

44
from operator import attrgetter
5-
from typing import List, Tuple, Iterator, Literal
5+
from typing import List, Tuple
66
import logging
77
from concurrent.futures import ThreadPoolExecutor
88

@@ -144,7 +144,7 @@ def diff_sets(a: set, b: set) -> iter:
144144
yield "-", i
145145

146146

147-
DiffResult = Iterator[Tuple[Literal["+", "-"], tuple]]
147+
DiffResult = iter #Iterator[Tuple[Literal["+", "-"], tuple]]
148148

149149

150150
def precalc_attr(attr, iter):

0 commit comments

Comments
 (0)