rcognita.callbacks.apply_callbacks

rcognita.callbacks.apply_callbacks(method)

Decorator that applies a list of callbacks to a given method of an object. If the object has no list of callbacks specified, the default callbacks are used.

Parameters

method – The method to which the callbacks should be applied.