

@classmethod
def finalize_output(cls):
    dist = _get_distribution()
    if (dist and (dist.in_progress_invalidation_batches < 3)):
        cf = _get_cf()
        req = cf.create_invalidation_request(settings.AWS_DISTRIBUTION_ID, cls.all_generated_paths)
        print(cls.id)

dataset/ETHPy150Open mtigas/django-medusa/django_medusa/renderers/s3.py S3StaticSiteRenderer.finalize_output/VarMisuse@57/75 `req`->`cls`