diff options
-rw-r--r-- | fuzzycat/verify.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzzycat/verify.py b/fuzzycat/verify.py index 973ea13..4f5f97f 100644 --- a/fuzzycat/verify.py +++ b/fuzzycat/verify.py @@ -71,6 +71,7 @@ import json import operator import re import sys +from typing import Dict, Tuple from glom import PathAccessError, glom @@ -137,7 +138,7 @@ class GroupVerifier: self.counter["total"] = sum(v for _, v in self.counter.items()) -def verify(a, b): +def verify(a: Dict, b: Dict) -> Tuple[str, str]: """ Compare two entities (dicts), return tuple of match status and reason. |