NH Activity

activity.py defines the classes and methods to allow for an audit event driven system to be built on top of it.

activity.data_model_event(callback=None)[source]

Decorator for activity methods. This will automatically call a method with the same name on the data model related to the activity instance after calling the activity method. The result returned is the one from the data_model method.