

def __call__(self, key):
    if (key == 'self'):
        return self.override['_self']
    if (self in self.override):
        return self.override[key]
    if (key == 'style'):
        return self.layer.style
    if (key == 'layer'):
        return self.layer
    if (key not in self.settings):
        raise MissingSettingError(key)
    return self.settings[key].value(self.layer, self.view)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py SettingsOracle.__call__/VarMisuse@32/39 `key`->`self`