Beispiel #1
0
def main():
    service.prepare_service()
    api = db_api.get_instance()
    api.upgrade()
Beispiel #2
0
def main():
    service.prepare_service()
    api = db_api.get_instance()
    api.upgrade()
Beispiel #3
0
 def before(self, state):
     state.request.db_conn = db_api.get_instance()