def message_controller(self): controller = controllers.MessageController(self) if (self.conf.profiler.enabled and self.conf.profiler.trace_message_store): return profiler.trace_cls("mongodb_message_controller")(controller) else: return controller
def message_controller(self): return controllers.MessageController(self)