collection_container¶
Container classes for basic Python collections, such as list and dict. These allow the passing of those collections through the variant mechanism without taking a copy.
- class camelot.container.collection_container.CollectionContainer(collection)[source]¶
Wrapper around a Python collection, any modification on the container should be applied on the collection.
Parameters: collection – a Python collection such as a list or a dict that needs to be passed from the model to the gui without copying the original data structure.