diff --git a/src/sentry/grouping/variants.py b/src/sentry/grouping/variants.py index f25322e66ade9b..2145b583f033e3 100644 --- a/src/sentry/grouping/variants.py +++ b/src/sentry/grouping/variants.py @@ -12,7 +12,6 @@ ) from sentry.grouping.fingerprinting import FingerprintRule from sentry.grouping.utils import hash_from_values, is_default_fingerprint_var -from sentry.types.misc import KeyedList if TYPE_CHECKING: from sentry.grouping.api import FingerprintInfo @@ -62,9 +61,6 @@ def __eq__(self, other: object) -> bool: return self.as_dict() == other.as_dict() -KeyedVariants = KeyedList[BaseVariant] - - class ChecksumVariant(BaseVariant): """A checksum variant returns a single hardcoded hash.""" diff --git a/src/sentry/types/misc.py b/src/sentry/types/misc.py deleted file mode 100644 index 013e8898485bab..00000000000000 --- a/src/sentry/types/misc.py +++ /dev/null @@ -1,8 +0,0 @@ -from typing import TypeVar - -# This is meant to be a base type from which we can derive types useful when we have what is in -# spirit a dictionary but is in practice a list of tuples. For example: -# KeyedInts = KeyedList[int] -# some_ints: KeyedInts = [("one", 1), ("two", 2)] -T = TypeVar("T") -KeyedList = list[tuple[str, T]]