def setup_events(conf, trait_plugin_mgr):
 return NotificationEventsConverter(conf, declarative.load_definitions(conf, [], conf.event.definitions_cfg_file), trait_plugin_mgr)

def setup_events ( conf , trait_plugin_mgr ) : return NotificationEventsConverter ( conf , declarative . load_definitions ( conf , [ ] , conf . event . definitions_cfg_file ) , trait_plugin_mgr )
setup the event definitions from yaml config file .