(value)
return value
Validate if values are correct cursor values and in correct order and quantity.

    This validator returns a list.
Validate if values are correct cursor values and in correct order and quantity.
Validate if values are correct cursor values and in correct order and quantity .
def is_cursor(value):
    """
    Validate if values are correct cursor values and in correct order and quantity.

    This validator returns a list.
    """
    try:
        value = parser.cursor(value)
    except ValueError as error:
        raise ValidationError(str(error))

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