def pools_controller(self): controller = controllers.PoolsController(self) if (self.conf.profiler.enabled and self.conf.profiler.trace_management_store): return profiler.trace_cls("mongodb_pools_controller")(controller) else: return controller
def pools_controller(self): return controllers.PoolsController(self)