def parseTag(self, pyGlooxTag): items = [] child = self.getChild(0) if child: for tag in self._getChildTags(pyGlooxTag, 0): items.append(child.parseTag(tag)) padding = self._getChildData(pyGlooxTag, 1, ResultSet.getDefaultData()) return (items, padding)
def getDefaultData(cls): return ([], ResultSet.getDefaultData())
def __init__(self): super(NotesListHandler, self).__init__(NoteQuery(items=(NoteItem(), ), rsm=ResultSet()))