def gui_update_children_version(client, leaf):
    if not hasattr(leaf, 'attributes'):
        return False
    
    leaf.attributes.__lastversion__ = leaf.attributes.__version__
    leaf.style.__lastversion__ = leaf.style.__version__
    leaf.children.__lastversion__ = leaf.children.__version__
    
    for subleaf in leaf.children.values():
        gui_update_children_version(client, subleaf)
This function is called when a leaf is updated by gui_updater
dataset/ETHPy150Open dddomodossola/remi/remi/server.py/gui_update_children_version