def delete(self): S3.delete(settings.S3_AVATAR_BUCKET, f'{self.id}.png') super().delete()
def mutate(self, info, **kwargs): user = info.context.user S3.delete(settings.S3_AVATAR_BUCKET, str(user.id)) return RemoveAvatar()
def delete(self): S3.delete(settings.S3_RESUME_BUCKET, f'{self.id}.pdf') S3.delete(settings.S3_RESUME_BUCKET, f'{self.id}.jpg') super().delete()