def to_unicode(value):
    if isinstance(value, _TO_UNICODE_TYPES):
        return value
    assert isinstance(value, bytes_type)
    return value.decode("utf-8")
Converts a string argument to a unicode string.
dataset/ETHPy150Open toastdriven/itty/itty.py/to_unicode