def to_native_string(string, encoding='ascii'):
    out = None
    if isinstance(string, builtin_str):
        out = string
    else:
        if PY2:
            out = string.encode(encoding)
        else:
            out = string.decode(encoding)
    return out
When a :class:`project-related <ProjectRelated>`
dataset/ETHPy150Open cenobites/flask-jsonrpc/flask_jsonrpc/_compat.py/to_native_string--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/mixins/__init__.py/ProjectRelated.update_owned_instance