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