def __init__(self, *args, **kwargs): super(ItemModel, self).__init__(*args, **kwargs) self.plugins = util.ItemList(key="id") self.instances = util.ItemList(key="id")
def __init__(self, parent=None): super(AbstractModel, self).__init__(parent) self.items = util.ItemList(key="id")