(value)
return value
Validate value is <uri>.
Validate value is <uri>.
Validate value is <uri > .
def is_uri(value):
    """Validate value is <uri>."""
    try:
        value = parser.uri(value)
    except ValueError as error:
        raise ValidationError(str(error))

    return value
def is_uri ( value ) : try : value = parser . uri ( value ) except ValueError as error : raise ValidationError ( str ( error ) ) return value