@task(queue='web')
def clear_artifacts(version_pk):
 version = Version.objects.get(pk=version_pk)
 clear_pdf_artifacts(version)
 clear_epub_artifacts(version)
 clear_htmlzip_artifacts(version)
 clear_html_artifacts(version)

@ task ( queue = 'web' ) def clear_artifacts ( version_pk ) : version = Version . objects . get ( pk = version_pk ) clear_pdf_artifacts ( version ) clear_epub_artifacts ( version ) clear_htmlzip_artifacts ( version ) clear_html_artifacts ( version )
remove artifacts from the web servers .