def upload_results(results): to_upload = json_from_results(results) upload(to_upload)