def METHOD_NAME(lst: list[str], str2: str) -> list[str]:
    """
    Replace all occurences of 'auto' in with str2
    """
    for i, value in enumerate(lst):
        if value == "auto":
            lst[i] = str2
    return lst