def edit_upload(pub, upload, meta=None): """Editing is the process which converts an uploaded file into one or more files of published content. """ upload = store_upload(pub, upload, upload.name, meta) async_upload = run_pub_scripts.delay(pub, upload) return upload, async_upload