def __post_init__(self):
    if (not (self.min <= self.max)):
        raise ValueError('min must be less than or equal to max.')
def __post_init__(self):
    if (not (self.min <= self.max)):
        raise ValueError('min must be less than or equal to max.')