def __init__(self, thing, *args, **kwargs): Item.__init__(self, *args, **kwargs) self.store = thing.store self.thing = thing self.thing.powerUp(self)
def __init__(self, thing, destination=None, *args, **kwargs): Item.__init__(self, *args, **kwargs) self.store = thing.store self.thing = thing self.thing.powerUp(self) self.destination = destination
def __init__(self, store, *args, **kwargs): Item.__init__(self, *args, **kwargs) self.store = store store.powerUp(self)
def __init__(self, store, username, password): Item.__init__(self, store=store, username=username, password=password)
def __init__(self, **kw): Item.__init__(self, **kw) self.content = Content(store=self.store) dependency.installOn(self.content, self)
def committed(self): Item.committed(self) if getattr(self, '_committed', None) is not None: self._committed(self)
def __init__(self, **stuff): """ Override Item's __init__ to re-retrieve this Item from the store. """ Item.__init__(self, **stuff) self.verify = (self, self.store.getItemByID(self.storeID))