def METHOD_NAME(cls, input_str):
    """Create an enum member from a string.
    Parameters
    ----------
    input_str : str
        The string representation of the annotation for the enum member.
    Returns
    -------
    AnnotatedIntEnum
        The enum member with the specified annotation.
    Raises
    ------
    ValueError
        If there is no enum member with the specified annotation.
    """
    for value in cls:
        if value.annotation.lower() == input_str.lower():
            return value
    raise ValueError(f"{cls.__name__} has no value matching {input_str}")