From 3b159a264c8589451153b54d5584071bccd4a2dd Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Mon, 18 Dec 2023 19:50:46 -0500 Subject: [PATCH] typing --- dedupe/branch_and_bound.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dedupe/branch_and_bound.py b/dedupe/branch_and_bound.py index eaa8c17e..6a600450 100644 --- a/dedupe/branch_and_bound.py +++ b/dedupe/branch_and_bound.py @@ -2,12 +2,12 @@ import functools import warnings -from typing import Any, Iterable, Mapping, Sequence +from typing import Any, Iterable, Mapping, Sequence, Tuple from ._typing import Cover from .predicates import Predicate -Partial = tuple[Predicate, ...] +Partial = Tuple[Predicate, ...] def _reachable(dupe_cover: Mapping[Any, frozenset[int]]) -> int: