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