PaferaPy Async 0.1
ASGI framework focused on simplicity and efficiency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pafera.validators.RangeValidator Class Reference

Throws an exception if the value is too high or too low. More...

Inheritance diagram for pafera.validators.RangeValidator:
pafera.validators.BaseValidator

Public Member Functions

def __call__ (self, fieldname, value)
 
def __init__ (self, min, max)
 

Public Attributes

 max
 
 min
 

Detailed Description

Throws an exception if the value is too high or too low.

Definition at line 101 of file validators.py.

Constructor & Destructor Documentation

◆ __init__()

def pafera.validators.RangeValidator.__init__ (   self,
  min,
  max 
)

Definition at line 106 of file validators.py.

Member Function Documentation

◆ __call__()

def pafera.validators.RangeValidator.__call__ (   self,
  fieldname,
  value 
)

Definition at line 111 of file validators.py.

Member Data Documentation

◆ max

pafera.validators.RangeValidator.max

Definition at line 108 of file validators.py.

◆ min

pafera.validators.RangeValidator.min

Definition at line 107 of file validators.py.


The documentation for this class was generated from the following file: