Robot Framework Integrated Development Environment (RIDE)
robotide.preferences.configobj.SimpleVal Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def robotide.preferences.configobj.SimpleVal.__init__ (   self)

Definition at line 2483 of file configobj.py.

Member Function Documentation

◆ check()

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.

Member Data Documentation

◆ baseErrorClass

robotide.preferences.configobj.SimpleVal.baseErrorClass

Definition at line 2484 of file configobj.py.


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