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