class ConditionalDecorator(object):
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 |
Parameters | |
func:Callable | Function to be decorated |
Returns | |
Callable | Decorated function |