Package turbogears :: Package identity :: Module conditions :: Class in_any_group

Class in_any_group

source code

     object --+            
              |            
      Predicate --+        
                  |        
  CompoundPredicate --+    
                      |    
                    Any --+
                          |
             object --+   |
                      |   |
IdentityPredicateHelper --+
                          |
                         in_any_group

Predicate for requiring membership in at least one group.

Instance Methods
 
__init__(self, *groups)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from Any: eval_with_object

Inherited from Predicate: append_error_message

Inherited from IdentityPredicateHelper: __nonzero__

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

Class Variables
  error_message = 'Not member of any group: %(group_list)s'
Properties

Inherited from object: __class__

Method Details

__init__(self, *groups)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)