def wait(self, update_every_seconds=<NUM_LIT:1>):
while self.status == u'<STR_LIT>':<EOL><INDENT>sleep(update_every_seconds)<EOL>self.load()<EOL><DEDENT>return self.status == u'<STR_LIT>'<EOL>
Wait until the action is marked as completed or with an error.
It will return True in case of success, otherwise False.

Optional Args:
    update_every_seconds - int : number of seconds to wait before
        checking if the action is completed.