The validator is throwing a TypeError on class instantiation:
TypeError: isinstance() argument 2 cannot be a parameterized generic
Not sure if Python provides a way to take the type parameters and to check the values against them. I’m using them in a class like this:
@dataclass_validate(strict=True)
@dataclass
class GroupyGroup:
items: tuple[int, ...]
foo: float
bar: float
The validator is throwing a
TypeErroron class instantiation:Not sure if Python provides a way to take the type parameters and to check the values against them. I’m using them in a class like this: