def save_yaml(obj, folder_path):
    obj2 = obj.copy()
    for (key, value) in obj2.items():
        if isinstance(value, Path):
            obj2[key] = str(value.resolve())
        else:
            obj2[key] = value
    with open(folder_path, 'w') as file:
        yaml.dump(obj2, file)
def save_yaml(obj, folder_path):
    obj2 = obj.copy()
    for (key, value) in obj2.items():
        if isinstance(value, Path):
            obj2[key] = str(value.resolve())
        else:
            obj2[key] = value
    with open(folder_path, 'w') as file:
        yaml.dump(obj2, file)