Trees | Indices | Help |
|
---|
|
1 from twisted.internet import defer4 ## state management 5 6 _objectid = None 7 8 @defer.inlineCallbacks2710 # get the objectid, if not known 11 if self._objectid is None: 12 self._objectid = yield self.master.db.state.getObjectId(self.name, 13 self.__class__.__name__) 14 15 rv = yield self.master.db.state.getState(self._objectid, *args, 16 **kwargs) 17 defer.returnValue(rv)18 19 @defer.inlineCallbacks
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:56 2012 | http://epydoc.sourceforge.net |