A simple validator. More...
Public Member Functions | |
| def | __init__ (self) |
| def | check (self, check, member, missing=False) |
| A dummy check method, always returns the value unchanged. More... | |
Public Attributes | |
| baseErrorClass | |
A simple validator.
Can be used to check that all members expected are present.
To use it, provide a configspec with all your members in (the value given will be ignored). Pass an instance of SimpleVal to the validate method of your ConfigObj. validate will return True if all members are present, or a dictionary with True/False meaning present/missing. (Whole missing sections will be replaced with False)
Definition at line 2481 of file configobj.py.
| def robotide.preferences.configobj.SimpleVal.__init__ | ( | self | ) |
Definition at line 2483 of file configobj.py.
| def robotide.preferences.configobj.SimpleVal.check | ( | self, | |
| check, | |||
| member, | |||
missing = False |
|||
| ) |
A dummy check method, always returns the value unchanged.
Definition at line 2487 of file configobj.py.
| robotide.preferences.configobj.SimpleVal.baseErrorClass |
Definition at line 2484 of file configobj.py.