-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels