def getInterestVocabValue(self, interestKey): """ Return the corresponding value matching the special interest key """ itemValue = None for item in SPECIAL_INTERESTS_LIST.items(): if item[0] == interestKey: itemValue = item[1] return itemValue
def getSpecialInterestList(self): """ Return a list of special interests """ return SPECIAL_INTERESTS_LIST.items()