Beispiel #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
Beispiel #2
0
 def pools_controller(self):
     return controllers.PoolsController(self)