Example #1
0
def upload_wb_and_start():
    sleep(5)

    try:
        client.upload_workbook()
    except exceptions.ConnectionError:
        LOG.error("Error. Mistral service probably is not working now")
        sys.exit(1)

    print("Start execution for: %s" % client.TASK)

    client.start_execution()
Example #2
0
    def get(self):
        print ("Start execution for: %s" % client.TASK)

        return client.start_execution()