in run_example.py [0:0]
def wait_for_task_complete(self): while True: if self.task_completed(): print("Done!") return