Beispiel #1
0
 def schedule_api(self):
     '''
     开启API
     :return:
     '''
     app.run(API_HOST, API_PORT)
Beispiel #2
0
 def schedule_api(self):
     """
     开启API
     """
     app.run(API_HOST, API_PORT)
Beispiel #3
0
def main():
    s = Scheduler()
    s.run()
    app.run()