

def apply(self, proxyOutput, topLevelProxyOutput, value):
    if isinstance(value, IECore.NullObject):
        proxyOutput.setToDefault()
        return
    value = _extractPlugValue(value, topLevelProxyOutput, value)
    if (value is None):
        raise TypeError(('Unsupported value type "%s"' % type(value).__name__))
    else:
        proxyOutput.setValue(value)

dataset/ETHPy150Open ImageEngine/gaffer/python/Gaffer/PythonExpressionEngine.py PythonExpressionEngine.apply/VarMisuse@41/58 `proxyOutput`->`value`