Class p.u.c.SimpleVal(object):

Part of pida.utils.configobj View In Hierarchy

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)

Line # Kind Name Docs
2147 Method __init__ Undocumented
2150 Method check A dummy check method, always returns the value unchanged.
def __init__(self):
Undocumented
def check(self, check, member, missing=False):
A dummy check method, always returns the value unchanged.
API Documentation for PIDA, generated by pydoctor.