def __init__(self, *, allow_none: bool=False, messages: MessageCollectionType=DEFAULT_MESSAGES, rules: list[Rule]=[], less_than: Optional[N]=None, less_or_equal_to: Optional[N]=None, greater_than: Optional[N]=None, greater_or_equal_to: Optional[N]=None, allowed: Optional[list[N]]=None):
    super().__init__(allow_none=allow_none, messages=messages, rules=rules)
    self._less_than = less_than
    self._less_or_equal_to = less_or_equal_to
    self._greater_than = greater_than
    self._greater_or_equal_to = greater_or_equal_to
    self._allowed = allowed
def __init__(self, *, allow_none: bool=False, messages: MessageCollectionType=DEFAULT_MESSAGES, rules: list[Rule]=[], less_than: Optional[N]=None, less_or_equal_to: Optional[N]=None, greater_than: Optional[N]=None, greater_or_equal_to: Optional[N]=None, allowed: Optional[list[N]]=None):
    super().__init__(allow_none=allow_none, messages=messages, rules=rules)
    self._less_than = less_than
    self._less_or_equal_to = less_or_equal_to
    self._greater_than = greater_than
    self._greater_or_equal_to = greater_or_equal_to
    self._allowed = allowed