b.u.c.c.SimpleVal(object) : class documentation

Part of bzrlib.util.configobj.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)

Method __init__ Undocumented
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 Bazaar, generated by pydoctor at 2019-11-23 00:41:47.