def get_unit(self):
        if self.is_variant():
            return self.parent.unit
        else:
            return self.unit
QCM2ViewWidget(parent: QWidget, f: WindowFlags) -> QCM2ViewWidget
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_unit--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/contrib/SCIRun/cm2viewcell.py/QCM2ViewWidget.__init__