from typing import Union
from typing import Iterable


def wrap_string_list(iter_or_str: Union[str, Iterable[str]]) -> Iterable[str]:
    """
    If passed a string, wrap it in an iterable. Otherwise, return the passed
    in value.
    :param iter_or_str: a string or iterable of strings
    :return: an iterable of strings
    """
    if isinstance(iter_or_str, str):
        return iter_or_str,
    else:
        return iter_or_str