class documentation

class ConditionalDecorator(object):

View In Hierarchy

ConditionalDecorator class.
Method __call__ Gets called when a function is to be decorated.
Method __init__ Initializes a conditional decorator.
Instance Variable condition Undocumented
Instance Variable decorating_args Undocumented
Instance Variable decorating_func Undocumented
def __call__(self, func):
Gets called when a function is to be decorated.
Parameters
func:CallableFunction to be decorated
Returns
CallableDecorated function
def __init__(self, condition, decorating_func, **decorating_args):
Initializes a conditional decorator.
Parameters
condition:boolCondition
decorating_func:CallableDecorating function
**decorating_args:AnyArguments to decorating function
condition =

Undocumented

decorating_args =

Undocumented

decorating_func =

Undocumented