

def value(self, layer=None, view=None):
    cid = self._component
    if ((layer is None) or (cid is None)):
        return AttributeInfo.make(cid, [], None)
    return AttributeInfo.from_layer(layer, cid, self)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py ComponenentElement.value/VarMisuse@64/70 `view`->`self`