Minimum reproducible example below:
from typing import Hashable, Sequence, TypeVar T = TypeVar(\'T\', bound=Hashable)