Example #1
0
 def flavors_controller(self):
     controller = controllers.FlavorsController(self)
     if (self.conf.profiler.enabled
             and self.conf.profiler.trace_management_store):
         return profiler.trace_cls("mongodb_flavors_controller")(controller)
     else:
         return controller
Example #2
0
 def flavors_controller(self):
     return controllers.FlavorsController(self)