Package turbogears :: Package identity :: Module conditions :: Class Predicate

Class Predicate

source code

object --+
         |
        Predicate

Generic base class for testing true or false for a condition.

Instance Methods
 
eval_with_object(self, obj, errors=None)
Determine whether predicate is True or False for the given object.
source code
 
append_error_message(self, errors=None) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__