def apply( self, proxyOutput, topLevelProxyOutput, value ) :

		# NullObject signifies that the expression didn't
		# provide a value at all - set the plug to its default.
		if isinstance( value, IECore.NullObject ) :
			proxyOutput.setToDefault()
			return

		value = _extractPlugValue( proxyOutput, 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/original