(self, value)
Set and validate a new value.
Set and validate a new value.
Set and validate a new value .
def value(self, value):
        """Set and validate a new value."""
        validated_value = self._validate(value)
        if validated_value is not None:
            self._data['value'] = validated_value
def value ( self , value ) : validated_value = self . _validate ( value ) if validated_value is not None : self . _data [ 'value' ] = validated_value