def clean(self, value):
if isinstance(value, six.string_types):<EOL><INDENT>return value<EOL><DEDENT>elif isinstance(value, numbers.Number):<EOL><INDENT>return str(value)<EOL><DEDENT>raise ParameterNotValidError<EOL>
Cleans and returns the given value, or raises a ParameterNotValidError exception