DataContainerInteractor.update#

DataContainerInteractor.update(container, tree_state=None)[source]#

Replace the underlying container and rebuild the tree.

Parameters:
containermosaic.container.DataContainer

Container with new data.

tree_stateTreeState, optional

Tree structure to restore. If None, items added to root.