def with_version(func, version="1.0"):
    """
    Wrapper appends a version path string to a given function object key.
    
    :param func:
    :param version:
    :return:
    """
    def wrapper(kg_id):
        return func(kg_id + '/' + version), version

    return wrapper