Esempio n. 1
0
 def get_app(self):
     env = Environment()
     env.add_health_check('test', SimpleHealthCheckExample)
     env.add_health_check('error', SimpleErrorCheckExample)
     return env.get_application()
Esempio n. 2
0
 def get_app(self):
     env = Environment()
     env.add_health_check('test', SimpleHealthCheckExample)
     env.add_health_check('error', SimpleErrorCheckExample)
     return env.get_application()