Ejemplo n.º 1
0
 def pools_controller(self):
     controller = controllers.PoolsController(self)
     if (self.conf.profiler.enabled
             and self.conf.profiler.trace_management_store):
         return profiler.trace_cls("sqlalchemy_pools_"
                                   "controller")(controller)
     else:
         return controller
Ejemplo n.º 2
0
 def pools_controller(self):
     return controllers.PoolsController(self)