from typing import Union


def _decode(str_like: Union[str, bytes]) -> str:
    """Convert to string from bytes/str/...
    """
    if isinstance(str_like, bytes):
        return str(str_like, 'utf-8')
    return str(str_like)