@property
    def label(self):
        if self.name in ['', None]:
            return self.original_filename and 'unnamed file'
        else:
            return self.name
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/module/media/models/abstract.py/BaseImage.label/operator `or` -> `and`