def vfs_construct_path(base_path, *path_components):
    path = base_path
    for component in path_components:
        if component.startswith('/'):
            path = component
        elif path == '' or path.endswith('/'):
            path += component
        else:
            path += '/%s' % component
    return path
Calling ``from_path`` with empty instance id creates an id.
dataset/ETHPy150Open oppia/oppia/utils.py/vfs_construct_path--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/LoopbackBlockDeviceAPIConstructorTests.test_from_path_creates_instance_id_if_not_provided