def send_result(results): """Results sender""" if ENV != 'dev': patch_execution(json={"results": results, "status": "FINISHED"}) else: logging.info('Finished -> Results:') logging.info(results)
def change_status_ticket(status): """Ticket status changer""" if ENV != 'dev': patch_execution(json={"status": status}) else: logging.info('Channing to RUNNING')
def send_progress(progress): """Send Progress""" patch_execution(json={"progress": progress}) pass